Uncaught Error: Invalid hook call. You might have more than one copy of React in the same app. If you are using Webpack Module Federation with multiple micro frontends, this error means you have duplicate React instances in memory. Every MFE bundles its own React, ReactDOM, and Router by default. With 5 remotes, that is 5 copies of React the browser loads, parses, and executes. The performance waste is bad. But the real problem is hooks breaking - two React instances means two separate hook registries that cannot talk to each other. The fix is Module Federation's shared config with singleton: true . But there is more to it than copy-pasting one config line.…