Created
November 16, 2016 03:01
-
-
Save rfinni/478b7fcd29b0a61931585ee244e9f287 to your computer and use it in GitHub Desktop.
Store creation, using the createStore redux utility.
This file contains hidden or 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 { createStore } from 'redux'; | |
| import reducers from './reducers/index'; | |
| // Includes Redux devtools | |
| const store = createStore(reducers, window.devToolsExtension && window.devToolsExtension()); | |
| export default store; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment