Comments (16)
Most likely, not enough funding to keep maintaining the landscape. Especially if we decide to include SSR capabilities
from universe.
I found the answer to this , it was fully open sourced some time back. This is now the latest https://github.com/module-federation/universe/blob/main/packages/nextjs-mf/README.md and it does support next 13
from universe.
Same goes if you use next/link as well. It looks like it's getting react twice if you actually use a hook and same with next/link
from universe.
I've just got this problem as well and found that someone has already reported before me. I got this problem when both when using hooks and next/link.
from universe.
Playing around with it some more yesterday it seems that in next 11 when you also have the config.output.public path set on the one sharing a component it seems to load localhost and next1/2 whichever one you are using to share on the one receiving it and loading whatever hooks/imports in it twice
from universe.
I've just got this problem too, how to fix it?
I need to build a micro frontend with nextjs for next project :(
from universe.
Will investigate
@jacob-ebey lets test this out at lulu and see if we missed something.
Does this error occur if you use my same from module federation examples?
from universe.
Hey, just to mention that just using regular old webpack 5 and module federation plugin I've no issues.
It might be how 'withFederatedSidecar' uses the 'shared' deps..
from universe.
yes this is a problem caused by sharing react. Ive managed to solve it but likely wont remain free due to the complexity and maintenance requirements of this package
from universe.
You mean this will become a paid for package?
from universe.
Will investigate
@jacob-ebey lets test this out at lulu and see if we missed something.
Does this error occur if you use my same from module federation examples?
Same problem with module federation example.
from universe.
Was able to fix it but package will be moving to a paid model
from universe.
Was able to fix it but package will be moving to a paid model
Do you know when the package will be available?
from universe.
The package is already available. https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-mf
from universe.
@ScriptedAlchemy Regarding the paid model , and the MIT licence, how is this working? I couldn't see any other mention of a paid model on this site, is the package linked above different to the one on npm? Thanks
from universe.
The package is already available. https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-mf
Is this package still maintained? And does it work for nextjs 13?
from universe.
Related Issues (20)
- Node ESM server support HOT 1
- Module Federation Support for Chrome DevTools
- nextjs-mf 8.1.4 - cannot read properties of undefined (reading '_config') while loading module from remote delegate HOT 2
- [email protected] with Next 14 without App routing (pages routing) HOT 9
- Runtime plugin lifecycle events only run once on server side HOT 8
- Runtime init and loadRemote methods are contain different remote (FederationInstance) when trying load exposed module HOT 1
- Support type hints
- Next.js App Router is not currently supported in `nextjs-mf` HOT 1
- Next.js export with page-router and importRemote HOT 11
- Next14 Host / React Remote - Prod Eager Consumption Error On Load HOT 2
- @module-federation/[email protected] module not found error HOT 4
- Request for a method called loadExposed in module-federation/runtime HOT 3
- Support consume manifest
- Can't resolve module using next-mf 8.1.6 and newest Nextjs v13.5+ HOT 1
- disable @module-federation/utilities importRemote console log HOT 1
- Micro Frontend Cross-Framework Rendering HOT 1
- Micro Frontend Router Synchronization HOT 1
- Open Source Module Documentation HOT 2
- runtimePlugins support pass parameters HOT 4
- onLoad hook should support factor return from hook
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.