This package has been deprecated

Author message:

This plugin is no longer maintained. Please use babel-plugin-react-transform with react-transform-hot-reload instead.

babel-plugin-react-hot

1.0.4 • Public • Published

babel-plugin-react-hot

Babel plugin using react-hot-api to add hot reloading to React.createClass and all ES6 classes with a render method.

Most of this can be accredited to babel-plugin-react-hotify. This particular repo was made to support the original react-hot-api as a Babel plugin.

Installation

jspm install babel-plugin-react-hot=github:loggur/babel-plugin-react-hot

or

jspm install babel-plugin-react-hot=npm:babel-plugin-react-hot

or

npm install babel-plugin-react-hot

Usage

Simply add the module to either .babelrc or options.plugins for babel.transform. See Babel's plugin docs.

To use this with webpack without manually adding module.hot.accept() to the bottom of your modules, use webpack-module-hot-accept.

License

MIT

Package Sidebar

Install

npm i babel-plugin-react-hot

Weekly Downloads

6

Version

1.0.4

License

MIT

Last publish

Collaborators

  • timbur