Comments (5)
You need env var for local webpack to get past next error 1.
Hydration error depends on setup. If MFP is not applied server side and only client side then it'll throw that. If you use next dynamic of MF imports not not react lazy. It'll have hydration error too.
from module-federation-examples.
Hi @ScriptedAlchemy, I am getting error while running the module federation sample application
https://github.com/module-federation/module-federation-examples/tree/master/nextjs-v14
Any changes required in this sample code? I am able to by pass #1 by installing webpack
from module-federation-examples.
The only real issue I see here is 4.
Which is hydration issue because Mf only running in client. Look at ssr next example or use set state to render component after hydration.
from module-federation-examples.
The only real issue I see here is 4.
Which is hydration issue because Mf only running in client. Look at ssr next example or use set state to render component after hydration.
The error # 4 is still an error out of the box with the example.
from module-federation-examples.
from module-federation-examples.
Related Issues (20)
- Hot Module Reloading is solved! HOT 1
- [Question] Shared modules are duplicate in multi-bundle files of MF v8.2.2 above HOT 14
- Can I Remove remote.js?[hash] for cache remote.js HOT 2
- NPM package unavailable - nextjs-shared-v14 HOT 1
- [Bug][Nextjs13] Uncaught TypeError: Cannot read properties of undefined (reading 'consumes') HOT 2
- Examples issue HOT 3
- vue-cli master分支跑不起来 HOT 1
- [Question] URL parameters? HOT 6
- externals @module-federation/webpack-bundler-runtime no work HOT 1
- Dynamic-remotes shared config not work HOT 2
- Does V2 currently support Vite? HOT 1
- Microfe
- nextjs mf does not generate remoteEntry.js HOT 6
- Add ability to reduce requests waterfall for host-ui HOT 3
- [Help] Router Module forRoot Issue with Module Federation HOT 1
- css-Isolation not working in rspack example HOT 3
- Does it work with the Next 14 App router? HOT 3
- vite-react-microfrontends example is broken HOT 1
- Lost css style of remote app when call from host at production mode HOT 1
- Cannot export _app.js with Next module federation HOT 1
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.