react-refresh-webpack-plugin icon indicating copy to clipboard operation
react-refresh-webpack-plugin copied to clipboard

Electron + HMR + Federated Modules not working

Open andreiciceu opened this issue 3 years ago • 0 comments

Hello,

We have a shell app (available in both electron and web), which loads remotely a federated module. I've managed to get Fast Refresh working when in DEV, for web (works for both the shell and the federated module, but not both at the same time; this is probably normal).

Though, when loading the electron version, Fast Refresh seems to only work for the shell app; when enabled in the federated module (and disabled ofc in the shell), the changes are propagated through the WebSocket, the console.logs regarding HMR are printed, but the UI components are not updated.

What could be causing this?

Many thanks!

andreiciceu avatar Aug 05 '22 10:08 andreiciceu