-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App router support #3623
Comments
App router support is not there currently in the module-federation/nextjs-mf plugin module-federation/core#1183 You can follow this module-federation/core#2002 for more updates |
Thanks for the response. when would they add support? I'm working on company project which is micro front-end. they asked me to add SSR to the project and I moved from pages router to app router but it just gave me build time errors. I couldn't find the issue because there was no clear error about this problem. would they consider adding app router later? |
Hello, does anyone know the progress on this one or if its going to be supported anytime soon? |
As @Akshay090 pointed out, people are trying to contribute so this can work, you can follow this module-federation/core#2002 to get some updates. I think for now they only have had finished the support for the SSR part, and the react is still giving errors. |
No app router support. If someone sends a PR to support it, otherwise I am not working on the issue as it is low priority. Maybe in 6 months time ill look at it again. |
|
no that does not fix it. |
I've switched from page router to the app router but on build time module federation throws error. it's main error is about react-dom which it couldn't find. I was using the 6.4.0 version of module federation and right now it's 8.1.7. did app router support was added in this version? If there is any workarounds please tell me.
The text was updated successfully, but these errors were encountered: