Comments (1)
It looks like you're not attaching the remote correctly in prod. Check what window.remoteName returns.
Also you should use dynamic imports on federated modules when possible. Static imports hoist a lot to the upper async scope. If suspense or dynamic import can be used, use that.
Are you inclining script manually or adding the url via the remote syntax in the plugin.
Dev tools backend might be appending an entrypoint which messed up the module federation container
from module-federation-examples.
Related Issues (20)
- esm modules possible? HOT 1
- nested paths, optimizations and bundle size effects on shared vendor HOT 1
- XSS and consideration in regard of module federation HOT 1
- trying to mix ModuleFederationPlugin doesnt work as expected HOT 1
- circular dependency on federated router HOT 1
- no vite-side remoteEntry.js HOT 3
- rspack-webpack-offload no work! HOT 2
- 404 pages are rendered in federated URLs in nextjs v13 with nextjs-mf v8. HOT 2
- issue with makeSerializable HOT 10
- Child Applications are re-rendering and the states are getting reset when the apllications are loaded using the concept of Dynamic Remote Containers HOT 1
- App router support HOT 7
- NEXT_PRIVATE_LOCAL_WEBPACK HOT 5
- Invalid hook call. Hooks can only be called inside of the body of a function component. HOT 1
- Remote is online but error log says offline HOT 1
- "simple-node" example fails if update "@module-federation/node" dependency to "2.0.11" HOT 2
- Module not found: Can't resolve 'encoding' in '../node_modules/node-fetch/lib' HOT 3
- Please use Angular17.2 as the shell, use the Native Federation package, Angular12 as the remote, use the Module Federation package. Is there any such example? HOT 1
- Is there any example of using server rendering with rspack? HOT 1
- vite-react-microfrontends demo missing file HOT 5
- nextjs(host)+ react webpack(remote):No ModuleFederationPlugin(s) found. HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from module-federation-examples.