KEMBAR78
Gatsby doesn't work with React 17 RC (Error: React-Hot-Loader: AppContainer should be patched) · Issue #26979 · gatsbyjs/gatsby · GitHub
Skip to content

Gatsby doesn't work with React 17 RC (Error: React-Hot-Loader: AppContainer should be patched) #26979

@gaearon

Description

@gaearon
  1. Update react and react-dom to 17.0.0-rc.1
  2. Update gatsby to latest
  3. Run yarn dev

This is the result:

Screenshot 2020-09-21 at 17 45 55

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugAn issue or pull request relating to a bug in Gatsby

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions