nebarf / module-federation-react-router-dom

Module federation example using nested routers
https://github.com/nebarf/module-federation-react-router-dom
38 stars 15 forks source link

Doesnt work #9

Open fabianboerner opened 1 month ago

nebarf commented 1 month ago

Could you provide details on what is not working? Thanks

fabianboerner commented 1 month ago

Hi, the problem with this implementation that you cant use module federation with a shared state through recoil. The Remote will not rerender.

Also you cant use useNavigate from within the app it doesnt react to it.

fabianboerner commented 1 month ago

Also it will fail the moment you add query parameters or use the url to store some state. I think this solution is not ready for production use.