Update react-hot-loader to 4.4.0, turn on pureSFC
This commit is contained in:
parent
b54cb42426
commit
da87dccb53
3 changed files with 16 additions and 6 deletions
|
@ -1,8 +1,12 @@
|
|||
import React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
import { hot } from 'react-hot-loader';
|
||||
import { hot, setConfig } from 'react-hot-loader';
|
||||
import App from 'containers/App';
|
||||
|
||||
setConfig({
|
||||
pureSFC: true
|
||||
});
|
||||
|
||||
const Root = ({ store }) => (
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue