redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc/index.js
Nathan Bierema c924091e8c
Rename redux-slider-monitor to redux-devtools-slider-monitor (#558)
* Rename redux-slider-monitor to redux-devtools-slider-monitor

* Fix
2020-08-06 08:02:35 -04:00

24 lines
534 B
JavaScript

import 'todomvc-app-css/index.css';
import React from 'react';
import ReactDOM from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import configureStore from './store/configureStore';
import Root from './containers/Root';
const store = configureStore();
const rootEl = document.getElementById('root');
const render = () => {
ReactDOM.render(
<AppContainer>
<Root store={store} />
</AppContainer>,
rootEl
);
};
render(Root);
if (module.hot) {
module.hot.accept('./containers/Root', render);
}