Gatsby doesn't work with React 17 RC (Error: React-Hot-Loader: AppContainer should be patched) · Issue #26979 · gatsbyjs/gatsby (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
- Update
react
andreact-dom
to17.0.0-rc.1
- Update
gatsby
to latest - Run
yarn dev
This is the result:
While there's ongoing work to make Fast Refresh the default for compatible setups, in the meantime, can we figure out how to fix this error?
I'm guessing that what needs to happen is for hot-loader/react-dom#41 to be solved by publishing a patched package. This is likely little work, but requires access to that package (cc @theKashey). I could do this myself if I had the instructions.