summaryrefslogtreecommitdiff
path: root/scraper/client/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-25 22:19:15 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-25 22:19:15 +0100
commitee3d0d98e19f1d8177d85af1866fd0ee431fe9ea (patch)
tree41372528e78d4328bc2a47bbbabac7e809c58894 /scraper/client/index.js
parent255b8178af1e25a71fd23703d30c0d1f74911f47 (diff)
moving stuff
Diffstat (limited to 'scraper/client/index.js')
-rw-r--r--scraper/client/index.js19
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
+)