mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-04 23:43:51 +03:00
476e37a875
* Add redux-slider-monitor * Fix example configuration of redux-slider-monitor * Fix lint errors * CI: Run build:all before lint
24 lines
534 B
JavaScript
Executable File
24 lines
534 B
JavaScript
Executable File
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);
|
|
}
|