Last active
December 30, 2017 00:49
-
-
Save francisngo/93086a13e3e2df90ad1fe5ff528a205f to your computer and use it in GitHub Desktop.
Collection for Redux todo example - This file handles creating the redux store and passing it to the App container
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 { createStore } from 'redux'; | |
import App from './App'; | |
import { reducer } from './reducer'; | |
const store = createStore(reducer); | |
render(<App store={store}/>, document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment