Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created March 20, 2016 15:47
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/6c1ec5bc0b31cad31c9f to your computer and use it in GitHub Desktop.
Save chuck0523/6c1ec5bc0b31cad31c9f 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 App from './components/App' // New
let store = createStore()
render(
<Provider store={store}>
{/* Appコンポーネントを追記 */}
<App />
</Provider>,
document.getElementById('root')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment