Skip to content

yoution/babel-plugin-react-hooks-hot-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

babel-plugin-react-hooks-hot-load

babel plugin for react hooks hot load

Installing

npm install babel-plugin-react-hooks-hot-load

Usage

put before metro-babel7-plugin-react-transform

{
  "plugins": [
    "babel-plugin-react-hooks-hot-load",
    require.resolve("metro-babel7-plugin-react-transform"),
    {
      transforms: [
        {
          transform: "react-transform-hmr",
          imports: ["react"],
          locals: ["module"]
        }
      ]
    }
  ]
}

About

babel plugin for react hooks hot load

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published