1.0.5 • Published 6 years ago

babel-preset-react-hot v1.0.5

Weekly downloads
247
License
ISC
Repository
github
Last release
6 years ago

Babel preset for React hot module replacement and error catching

This preset will configure Babel for react-transform-hmr and react-transform-catch-errors.

This preset should only be used for development builds.

Install

yarn add babel-preset-react-hot --dev

# or

npm install babel-preset-react-hot --save-dev

Configure babel via .babelrc

{
  "env": {
    "development": {
      "presets": ["react-hot"]
    }
  }
}

Origin

This package was forked from babel-preset-react-hmre which seemingly isn't maintained anymore and the Github repo was deleted.

As it had an outdated dependency on redbox-react in React >=15.5.0 a warning was printed about a deprecated prop types import. This package has that dependency updated and so no warning should be printed.

1.0.5

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago