Skip to content

Commit

Permalink
Merge pull request #1114 from D34THWINGS/patch-1
Browse files Browse the repository at this point in the history
Fix typos in README
  • Loading branch information
theKashey authored Dec 3, 2018
2 parents d16db24 + 57359f5 commit 7f67953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ Latest (4.5.0+, beta) version of React-Hot-Loader could be quite 🔥!
* (required) [use webpack plugin](https://github.com/gaearon/react-hot-loader#webpack-plugin) to let RHL patch React-DOM for you.
* (optional) [set configuration](https://github.com/gaearon/react-hot-loader#setconfigconfig) to `ignoreSFC:true` (this will fix `hook`)
* (optional) [set configuration](https://github.com/gaearon/react-hot-loader#setconfigconfig)set configuration to `pureRender:true` (this will remove side effect from Classes)
* (optional) [set configuration](https://github.com/gaearon/react-hot-loader#setconfigconfig) to `pureRender:true` (this will remove side effect from Classes)

```js
import { setConfig } from 'react-hot-loader'

setConfig({
ignoreSFC: true, // RHL will be __complitely__ disabled for SFC
ignoreSFC: true, // RHL will be __completely__ disabled for SFC
pureRender: true, // RHL will not change render method
})
```
Expand Down

0 comments on commit 7f67953

Please sign in to comment.