Update react-hot-loader to 4.4.0, turn on pureSFC

This commit is contained in:
Ken-Håvard Lieng 2018-11-17 11:12:30 +01:00
parent b54cb42426
commit da87dccb53
3 changed files with 16 additions and 6 deletions

View file

@ -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 />