Files: ee357b9441a7fbb11be1a0d26b0a899624a2b155 / app / client.js
621 bytesRaw
1 | const React = require('react') |
2 | const { render } = require('react-dom') |
3 | const { createStore, applyMiddleware } = require('redux') |
4 | import { reduxReactRouter, routerStateReducer, ReduxRouter } from 'redux-router'; |
5 | const { Provider } = require('react-redux') |
6 | const thunk = require('redux-thunk') |
7 | |
8 | const initialState = require('app/state') |
9 | const configureStore = require('app/store') |
10 | const { getAllTodos } = require('app/actions') |
11 | const Root = require('app/containers/root') |
12 | |
13 | const store = configureStore( |
14 | initialState |
15 | ) |
16 | |
17 | //store.dispatch(getAllTodos()) |
18 | |
19 | render( |
20 | <Root store={store} />, |
21 | document.querySelector('main') |
22 | ) |
23 |
Built with git-ssb-web