p5.js-web-editor/client/index.js

15 lines
395 B
JavaScript
Raw Normal View History

2016-05-05 21:48:26 +00:00
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import configureStore from '../shared/redux/store/configureStore'
2016-05-05 23:01:31 +00:00
import App from '../shared/containers/App/App'
2016-05-05 21:48:26 +00:00
const initialState = window.__INITIAL_STATE__
const store = configureStore(initialState)
2016-05-03 04:09:16 +00:00
render(
2016-05-05 21:48:26 +00:00
<Provider store={store}>
<App/>
</Provider>,
2016-05-03 04:09:16 +00:00
document.getElementById('root')
)