Comments (2)
This is a limit of webpack. To solve it we would need to rewrite most of HMR internals.
So far we have not found this feature to be worth the cost of implementing.
I have been rummaging around in the internal webpack runtime for v7 - so i had some theories. But its not trivial.
HMR works via socket connected to client from host. federation would require all builds to interconnet each others graphs via sockets since HMR requires disposing the parent module. So the remote needs to know who its parents are.
from universe.
Thank you for the info and update!
from universe.
Related Issues (20)
- Cannot use vue2.7 lifecycle hook through module federation HOT 1
- [CORS]: @module-federation/nextjs-mf HOT 3
- Cannot use shared module in .mjs file correctly HOT 4
- Adding element to page with id that matches remote's name causes `TypeError: remoteEntryExports.init is not a function` HOT 2
- External modules not shared HOT 4
- [MF Plugin] "promise new Promise" syntax doesn't work with @ char in it HOT 4
- Entry runtime miss function "O" HOT 6
- esbuild plugin error: Top-level await is not available in the configured target environment HOT 1
- @module-federation/nextjs-mf version 8.4.0 breaks API routes
- Having production error - TypeError: (void 0) is not a function at .next/server/webpack-api-runtime.js:1:199 HOT 1
- Nextjs plugin doesn't work unless the "unsafe-eval" CSP header is set
- Vue Bridge package lacks `dist` HOT 4
- misleading error message when remoteEntry.files is empty
- Module Federation Plugin for Vite HOT 6
- Quick Start Error - Failed to load file HOT 4
- Project with tsconfig.json with compilerOptions.paths and path aliases usage fails to compile federated types HOT 1
- loading a remote wipes out the registered shared modules by the host even if they are declared singleton
- Missing `dist` in the release of `@module-federation/bridge-vue3` HOT 1
- Critical dependency warning in @module-federation/utilities due to dynamic import HOT 1
- add option to exclude shared dependencies from build
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 universe.