2018-01-29 20:47:12 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
|
|
|
import { createStore } from 'redux';
|
|
|
|
import Reducer from 'reducers';
|
|
|
|
import Root from './root';
|
|
|
|
|
|
|
|
let store = createStore(
|
|
|
|
Reducer,
|
|
|
|
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
|
|
|
);
|
|
|
|
|
|
|
|
render(
|
|
|
|
<Root store={store} />,
|
|
|
|
document.getElementById('react-app')
|
2018-01-29 21:49:01 +01:00
|
|
|
);
|