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
When using module federation plugin, if host is using React 19 and remote is using React 18, host fails to load with below error in console:
react-jsx-runtime.development.js:328 Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
at eval (react-jsx-runtime.development.js:328:51)
at eval (react-jsx-runtime.development.js:1332:5)
at ./node_modules/react/cjs/react-jsx-runtime.development.js (vendors-node_modules_react_jsx-runtime_js.js:18:1)
at webpack_require (remoteEntry.js:104:41)
at eval (jsx-runtime.js:5:20)
at ./node_modules/react/jsx-runtime.js (vendors-node_modules_react_jsx-runtime_js.js:28:1)
at webpack_require (remoteEntry.js:104:41)
at eval (App.js:5:75)
at ./src/App.js (src_App_js.js:18:1)
at webpack_require (remoteEntry.js:104:41)
If the current behavior is a bug, please provide the steps to reproduce.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
What is the current behavior?
When using module federation plugin, if host is using React 19 and remote is using React 18, host fails to load with below error in console:
react-jsx-runtime.development.js:328 Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
at eval (react-jsx-runtime.development.js:328:51)
at eval (react-jsx-runtime.development.js:1332:5)
at ./node_modules/react/cjs/react-jsx-runtime.development.js (vendors-node_modules_react_jsx-runtime_js.js:18:1)
at webpack_require (remoteEntry.js:104:41)
at eval (jsx-runtime.js:5:20)
at ./node_modules/react/jsx-runtime.js (vendors-node_modules_react_jsx-runtime_js.js:28:1)
at webpack_require (remoteEntry.js:104:41)
at eval (App.js:5:75)
at ./src/App.js (src_App_js.js:18:1)
at webpack_require (remoteEntry.js:104:41)
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Host application should load correctly
Other relevant information:
webpack version: 5.99.9
Node.js version: 20.12.2
Operating System: windows 11
Additional tools:
The text was updated successfully, but these errors were encountered: