blob: 8daf531a0a705218bd952aef5a2bfa1f77472cb6 (
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 Router from 'app/router'
import { store, history } from 'app/store'
const container = document.createElement('div')
container.classList.add('container')
document.body.appendChild(container)
ReactDOM.render(
<Provider store={store}>
<Router history={history} />
</Provider>, container
)
|