# react-rewire-hot-loader

> hot-loader

Latest version **1.1.13** (published 2018-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-rewire-hot-loader
pnpm add react-rewire-hot-loader
yarn add react-rewire-hot-loader
bun add react-rewire-hot-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.13 |
| Published | 2018-03-20 |
| First published | 2017-12-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | likun7981 |
| Maintainers | likun7981 |
| Keywords | react-hot-loader |

## Links

- npm: https://www.npmjs.com/package/react-rewire-hot-loader
- npm.io page: https://npm.io/package/react-rewire-hot-loader

## Dependencies (1)

- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^4.0.0

## Recent versions

- 1.1.13 (latest) — 2018-03-20
- 1.1.12-1 (next) — 2018-03-20
- 1.1.12 — 2018-03-20
- 1.1.12-0 — 2018-03-20
- 1.1.11 — 2018-01-16
- 1.1.11-3 — 2018-01-16
- 1.1.11-2 — 2018-01-16
- 1.1.11-1 — 2018-01-16
- 1.1.11-0 — 2018-01-16
- 1.1.9 — 2017-12-28

## README

# react-rewire-hot-loader

## Usage

1. 导入`react-rewire-hot-loader`
```javascript
import { compose } from 'react-rewired-scripts'
import rewireHotLoader from 'react-rewire-hot-loader'

export default compose(rewireHotLoader);
```
2. 让你的根元素加上 hot
```javascript
// ./containers/App.js
import React from 'react'
import { hot } from 'react-hot-loader'

const App = () => <div>Hello World!</div>

export default hot(module)(App)
```

## 链接

- [react-hot-loader](https://github.com/gaearon/react-hot-loader)

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