Code Monkey home page Code Monkey logo

Comments (5)

ScriptedAlchemy avatar ScriptedAlchemy commented on June 11, 2024

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.

tomani77 avatar tomani77 commented on June 11, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 11, 2024

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.

Dannymx avatar Dannymx commented on June 11, 2024

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.

ScriptedAlchemy avatar ScriptedAlchemy commented on June 11, 2024

#3764

from module-federation-examples.

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.