blob: 337d362031f1e00798ea34b74d0579b1b2ab7363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import './site.css'
import App from 'site/app'
import { store, history } from 'site/store'
const container = document.createElement('div')
container.classList.add('container')
document.body.appendChild(container)
ReactDOM.render(
<Provider store={store}>
<App history={history} />
</Provider>, container
)
|