summaryrefslogtreecommitdiff
path: root/frontend/index.js
blob: 39bcf864aeb61ec0ad1df6b4aed1d71b5507a7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'

import App from './app'

import * as socket from './socket'
import { store, history } from './store'

const container = document.createElement('div')
document.body.appendChild(container)

ReactDOM.render(
  <Provider store={store}>
    <App history={history} />
  </Provider>, container
)