-
Notifications
You must be signed in to change notification settings - Fork 382
-
Hello,
In my company, we started to build a "web platform" focused on enabling vertical teams to maintain their own microfrontends, which would be used as remote modules in our host app (via module-federation).
ModernJS was the first framework we picked to experiment with the idea since it seemed to be well integrated with module-federation. With that being said, our needs are:
- Remote modules need to be SSR and be able to use server data loaders (e.g. fetch data on the server)
- Preferably, remote modules should be Application-level (however we can workaround that, so not a hard requirement)
We got module-federation + SSR working with ModernJS, however we couldn't get the data loader to work in the remote SSR module. The documentation for this is currently incomplete (see screenshot below)
image
So wanted to ask if this is currently doable in the latest ModernJS versions or not.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Replies: 1 comment
-
Thanks for your feedback.
The latest versions of Modern.js and MF already support it. You can first refer to the doc of mf. We will provider the documentation in Modern.js as soon as possible.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2 -
🎉 2