You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-18
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,12 @@ npm install react-hot-loader
28
28
29
29
## 🔥 HOT-LABS 🔥
30
30
31
-
Latest (4.5.0+, beta) version of React-Hot-Loader could be quite 🔥!
31
+
Latest (4.5.0+) version of React-Hot-Loader could be quite 🔥!
32
32
33
33
> RHL will patch React, replace React-DOM by React-🔥-DOM and work with fiber directly
34
34
35
35
* (required) [use webpack plugin](https://github.com/gaearon/react-hot-loader#webpack-plugin) to let RHL patch React-DOM for you.
36
36
* (alternative) [use react-🔥-dom](https://github.com/gaearon/react-hot-loader#react--dom) to use already patched React-DOM.
37
-
* (optional) [set configuration](https://github.com/gaearon/react-hot-loader#setconfigconfig) to `ignoreSFC:true` (this will fix `hook`)
38
-
* (optional) [set configuration](https://github.com/gaearon/react-hot-loader#setconfigconfig) to `pureRender:true` (this will remove side effect from Classes)
39
-
40
-
```js
41
-
import { setConfig } from'react-hot-loader'
42
-
43
-
setConfig({
44
-
ignoreSFC:true, // RHL will be __completely__ disabled for SFC
45
-
pureRender:true, // RHL will not change render method
0 commit comments