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

17 lines
428 B
JavaScript
Raw Normal View History

2016-05-05 23:48:26 +02:00
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import configureStore from '../shared/redux/store/configureStore'
2016-05-06 01:01:31 +02:00
import App from '../shared/containers/App/App'
2016-05-05 23:48:26 +02:00
2016-05-11 04:22:32 +02:00
require('../styles/main.scss');
2016-05-10 20:18:36 +02:00
2016-05-05 23:48:26 +02:00
const initialState = window.__INITIAL_STATE__
const store = configureStore(initialState)
2016-05-03 06:09:16 +02:00
render(
2016-05-05 23:48:26 +02:00
<Provider store={store}>
<App/>
</Provider>,
2016-05-03 06:09:16 +02:00
document.getElementById('root')
)