Giter Club home page Giter Club logo

Comments (16)

ScriptedAlchemy avatar ScriptedAlchemy commented on June 1, 2024 2

Most likely, not enough funding to keep maintaining the landscape. Especially if we decide to include SSR capabilities

from universe.

tom-sanderson-bt avatar tom-sanderson-bt commented on June 1, 2024 1

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.

jbbelcher53 avatar jbbelcher53 commented on June 1, 2024

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.

khanh-le-otsv avatar khanh-le-otsv commented on June 1, 2024

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.

jbbelcher53 avatar jbbelcher53 commented on June 1, 2024

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.

quynhbui-teqnological avatar quynhbui-teqnological commented on June 1, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 1, 2024

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.

pkearney13 avatar pkearney13 commented on June 1, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 1, 2024

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.

pkearney13 avatar pkearney13 commented on June 1, 2024

You mean this will become a paid for package?

from universe.

githubdocyrillo avatar githubdocyrillo commented on June 1, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 1, 2024

Was able to fix it but package will be moving to a paid model

from universe.

githubdocyrillo avatar githubdocyrillo commented on June 1, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 1, 2024

The package is already available. https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-mf

from universe.

tom-sanderson-bt avatar tom-sanderson-bt commented on June 1, 2024

@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.

chendatao407786 avatar chendatao407786 commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.