Files: 0a19ff71e90207bdc5e6b22d5470c11617f9f7b0 / app / client.js
667 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 | const main = document.createElement('main') |
20 | |
21 | document.body.appendChild(main) |
22 | |
23 | render(<Root />, main) |
24 |
Built with git-ssb-web