Files: 7d30006981236017db174b04d89678ae7c52077e / app / client.js
635 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 createInitialState = 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 | createInitialState() |
15 | ) |
16 | |
17 | //store.dispatch(getAllTodos()) |
18 | |
19 | render( |
20 | <Root store={store} />, |
21 | document.querySelector('main') |
22 | ) |
23 |
Built with git-ssb-web