# babel-plugin-react-hot

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

Latest version **1.0.4** (published 2015-08-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install babel-plugin-react-hot
pnpm add babel-plugin-react-hot
yarn add babel-plugin-react-hot
bun add babel-plugin-react-hot
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2015-08-06 |
| First published | 2015-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | timbur |
| Maintainers | timbur |
| Keywords | babel, plugin, react, hot, api, reload, loader |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-react-hot
- Repository: https://github.com/loggur/babel-plugin-react-hot
- Homepage: https://github.com/loggur/babel-plugin-react-hot#readme
- Issues: https://github.com/loggur/babel-plugin-react-hot/issues
- npm.io page: https://npm.io/package/babel-plugin-react-hot

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^0.13.3
- [react-hot-api](https://npm.io/package/react-hot-api.md) ^0.4.5

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2015-08-06
- 1.0.3 — 2015-08-04
- 1.0.2 — 2015-08-04
- 1.0.1 — 2015-08-04
- 1.0.0 — 2015-07-17

## README

# babel-plugin-react-hot
Babel plugin using [`react-hot-api`](https://github.com/gaearon/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`](https://github.com/gaearon/babel-plugin-react-hotify).  This particular repo was made to support the original [`react-hot-api`](https://github.com/gaearon/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](https://babeljs.io/docs/advanced/plugins/).

To use this with `webpack` without manually adding `module.hot.accept()` to the bottom of your modules, use [`webpack-module-hot-accept`](https://github.com/loggur/webpack-module-hot-accept).


## License
MIT

---
_Source: https://npm.io/package/babel-plugin-react-hot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
