Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created March 20, 2016 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/55c6968ee0498055b2fc to your computer and use it in GitHub Desktop.
Save chuck0523/55c6968ee0498055b2fc to your computer and use it in GitHub Desktop.
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { createStore } from 'redux'
import slideApp from './reducers' // New
import App from './components/App'
let store = createStore(slideApp) // Add
render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment