Skip to content

Improve hot reloading for hooks #16534

@sidharthachatterjee

Description

@sidharthachatterjee

react-hot-loader/webpack currently gets applied to all of node_modules

We should apply this only to react-dom

This should do two things

  • speed up develop
  • fix issue where everything breaks if there is node_modules in src

Related

Follow up to #13713 and gaearon/react-hot-loader#1309

Attempted in #16146

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssue with a clear description that the community can help with.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions