Babel plugin using `react-hot-api` to add hot reloading to `React.createClass` and all classes with a `render` method.
Switch branches/tags
Clone or download
Latest commit f5099c9 Sep 29, 2015
Permalink
Failed to load latest commit information.
.gitignore jspm = {...} Jul 8, 2015
LICENSE Initial commit Jul 8, 2015
README.md Update README.md Sep 29, 2015
config.js jspm = {...} Jul 8, 2015
index.js fix displayName Aug 6, 2015
makeHot.js fix displayName Aug 6, 2015
package.json 1.0.4 Aug 6, 2015

README.md

This plugin is no longer maintained.

Please use babel-plugin-react-transform and react-transform-hot-reload instead.

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