Zack Jackson
Zack Jackson
This was too complex to implement last we tried.
I created a plugin called nextjs-MF which solves the problem for nextjs
I have others which are not publicly available. You can use fetch() and post to have remotes SSR themselves inside a next/dynamic instance server side
> any updates on this problem? Too complex if I remember correctly
No plans to continue working on this problem.
I believe the problem becomes that in order for webpack to attempt to negotiate what version of react to use, since it's a singleton, it would require loading the remotes...
> So it is not possible to federate modules from nextJS CSR without a plugin at all? What about sidecar (sub-app) that Jack showed in his video? It's possible, I...
Might be a reserved name since there’s module exports and other module references in the runtime code itself
`await __webpack_init_sharing__("default");` not initialize
HMR and MF do not work currently.