Replies: 1 comment
-
I've resolved this issue by disabling liveReload in the RSBuild config for the dev server. It no longer causes a loop. maybe this a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am upgrading to Modules Federation 2.0 and I have a strange bug where when I add a remote either via the remotes object in modules federation config or via the federated runtime loadRemote & init functions, it gets stuck in a refresh loop in the browser.
The module i'm importing is a React Component via Lazy, and I can see it rendering, however as mentioned when I do this, it gets stuck in a refresh loop.
Screen.Recording.2024-07-22.at.16.27.32.mov
Is this linked to the hot reloading or is there some configuration issue?
I am using RSPack and the module-federation/enhanced lib and the setup is a Host importing a app, The app is then importing a exposed React Component from another app.
I've followed all the docs and the code is all standard following these docs.
Any help will be appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions