Files: 4cb19feb19f09ec24e9ab9ee78c7df9337ce2f68 / app / client.js
561 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 configureStore = require('app/store') |
9 | const { findTodos } = require('app/actions') |
10 | const Root = require('app/containers/root') |
11 | |
12 | const store = configureStore() |
13 | |
14 | //store.dispatch(getAllTodos()) |
15 | |
16 | render( |
17 | <Root store={store} />, |
18 | document.querySelector('main') |
19 | ) |
20 |
Built with git-ssb-web