Created
March 20, 2016 15:47
-
-
Save chuck0523/6c1ec5bc0b31cad31c9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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