Use react hook cause error in module federation project. #23322
Labels
blocked: repro needed
scope: module federation
Issues related to module federation support
scope: react
Issues related to React support for Nx
stale
type: bug
Current Behavior
The project is module federation project.
When I add useEffect hook in remote app, the page report
Cannot read properties of null (reading 'useEffect')
.Expected Behavior
I download the example project, https://github.com/nrwl/react-module-federation, it works OK.
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest
, choose react, webpack, playwright...npx nx serve shell --devRemotes=a,b
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: