Replies: 4 comments
-
Cheapest solution is use something else other than next. ModernJS will release RSC + Federation support in 2025. Warning: Support for next is ending |
Beta Was this translation helpful? Give feedback.
-
I can recommend using Modern.js as a replacement for Next.js. |
Beta Was this translation helpful? Give feedback.
-
I used to have a Next.js host app which shared all dependencies as "eager". It also exclusively loaded micro-frontends in the client (no SSR). I could replace it with this setup:
Functionally it's similar to what I had before. I just had minor issues where dependency sharing was not quite working for some specific dependencies if the micro-frontend was not using the enhanced plugin, but it's something that got fixed by updating the micro-frontends. (Also it was not a blocker because functionally it was still working, even if not that optimal) |
Beta Was this translation helpful? Give feedback.
-
This should get easier with the updates and PRs going into webpack and Rspack and the increased help and guidance from Vercel and the NextJS team to support Module Federation. Apologies for this taking so long, but looks like we have a path forward now. |
Beta Was this translation helpful? Give feedback.
-
It is clear that @module-federation/nextjs-mf wont support App directory in nextjs.
How have others gotten around this? Where you able to do this with webpack directly?
I am gonna can nextjs if I cant get this to work.
Beta Was this translation helpful? Give feedback.
All reactions