You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to run multiple React micro frontends (MFEs) when they don't all use the same NODE_ENV. When developing large systems using micro frontends (e.g. via module federation), it is not feasible for developers to have every MFE running locally. Instead, a proxy config can be used to pull built artifacts of existing MFEs and only run relevant apps locally. This worked well in React 18, but does not in React 19.
React version: 19
Steps To Reproduce
Using some MFE solution (in my example, module federation), run a host app in dev mode (NODE_ENV === 'development') and a remote app in prod mode (NODE_ENV === 'production')
This is the error I see when running the attached example. Note that downgrading the example to React 18 fixes this issue, and running both apps in either dev or prod mode also resolves the issue.
The text was updated successfully, but these errors were encountered:
Unable to run multiple React micro frontends (MFEs) when they don't all use the same
NODE_ENV
. When developing large systems using micro frontends (e.g. via module federation), it is not feasible for developers to have every MFE running locally. Instead, a proxy config can be used to pull built artifacts of existing MFEs and only run relevant apps locally. This worked well in React 18, but does not in React 19.React version: 19
Steps To Reproduce
Link to code example: https://github.com/rdenman/react-19-mixed-env-mf
The current behavior
Unable to run mixed builds (dev + prod)
The expected behavior
Both dev and prod builds should be compatible.
This is the error I see when running the attached example. Note that downgrading the example to React 18 fixes this issue, and running both apps in either dev or prod mode also resolves the issue.
The text was updated successfully, but these errors were encountered: