Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created Mar 20, 2016
Embed
What would you like to do?
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