Speedometer: Add a React + Redux TodoMVC implementation
[WebKit-https.git] / PerformanceTests / Speedometer / resources / todomvc / architecture-examples / react-redux / src / index.js
1 import React from 'react'
2 import { render } from 'react-dom'
3 import { createStore } from 'redux'
4 import { Provider } from 'react-redux'
5 import App from './containers/App'
6 import reducer from './reducers'
7 import 'todomvc-app-css/index.css'
8
9 const store = createStore(reducer)
10
11 render(
12   <Provider store={store}>
13     <App />
14   </Provider>,
15   document.getElementById('root')
16 )