diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-25 22:19:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-25 22:19:15 +0100 |
| commit | ee3d0d98e19f1d8177d85af1866fd0ee431fe9ea (patch) | |
| tree | 41372528e78d4328bc2a47bbbabac7e809c58894 /scraper/client/index.js | |
| parent | 255b8178af1e25a71fd23703d30c0d1f74911f47 (diff) | |
moving stuff
Diffstat (limited to 'scraper/client/index.js')
| -rw-r--r-- | scraper/client/index.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scraper/client/index.js b/scraper/client/index.js new file mode 100644 index 00000000..eddc5fb2 --- /dev/null +++ b/scraper/client/index.js @@ -0,0 +1,19 @@ +import React from 'react' +import ReactDOM from 'react-dom' +import { AppContainer } from 'react-hot-loader' +import { Provider } from 'react-redux' + +import App from './app' + +import { store, history } from './store' + +const container = document.createElement('div') +document.body.appendChild(container) + +ReactDOM.render( + <AppContainer> + <Provider store={store}> + <App history={history} /> + </Provider> + </AppContainer>, container +) |
