modern-js-examples
modern-js-examples copied to clipboard
SSR Module Federation - Hydration Error
With reference to my previous issue: https://github.com/web-infra-dev/modern-js-examples/issues/47
If we run both the application in the DEVELOPMENT ONLY MODE (npm run dev), everything works fine.
BUT, if I change any code in the REMOTE application, then, HOST app application throws hydration errors:
My expectation is: HOST app must be able to display all the changes made in REMOTE app without throwing any HYDRATION errors.
How to handle this in Modern.js in SSR Module Federation?
Am I doing something wrong here?
Please advise. @ScriptedAlchemy
@jkzing @xuchaobei @chenjiahan @targeral @yimingjfe