You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been generated the example by
nx g @nx/react:host --name=host --directory=apps --remotes=remote1 --dynamic=true
Then I use
nx run host:serve:development --devRemotes=remote1
to start.When I change remote1 and save, I can see, the running console is building and the browser console have hmr log printed. But the web page not refresh.
And if I change
loadRemoteModule
back toimport()
in remote1 then everything is working fine.loadRemoteModule is import form
import { loadRemoteModule } from "@nx/react/mf";
Is the dynamic federation react is not support hmr ? If I want to development the remote, how can i do ?
Beta Was this translation helpful? Give feedback.
All reactions