badguardhome/client/src/index.js
2018-08-30 17:25:33 +03:00

16 lines
441 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import './components/App/index.css';
import App from './containers/App';
import configureStore from './configureStore';
import reducers from './reducers';
const store = configureStore(reducers, {}); // set initial state
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root'),
);