Skip to content

Remove HMR feature #336

@DimitryDushkin

Description

@DimitryDushkin
  1. HMR is quite broken for new React releases. Check out number of issues in it https://github.com/gaearon/react-hot-loader/issues and this The end of React-Hot-Loader gaearon/react-hot-loader#1024
  2. This library is not evolving. It's not supporting forwardRef, hooks, lazy.
  3. It's wrapping every component in react-proxy, which complicates debugging and also not compatable with class-based components without transpilation to functions.
  4. Takes lots of time to make it work with redux-based applications

So I suggest to remove it from metro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions