core: Nextjs module federation doesn't work when remote module uses hooks
If a host consumes a module that uses hooks (useEffect
) the host page displays a react hook error.
Please see this minimal repo to see it fail in action.
https://github.com/Pkearney2021/nextjs-mf-side-car-hooks
To make it work just simply comment out the useEffect
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 5
- Comments: 16 (5 by maintainers)
Most likely, not enough funding to keep maintaining the landscape. Especially if we decide to include SSR capabilities
I found the answer to this , it was fully open sourced some time back. This is now the latest https://github.com/module-federation/universe/blob/main/packages/nextjs-mf/README.md and it does support next 13