Created
July 3, 2018 19:19
-
-
Save roelofjan-elsinga/e1e7f8077d64879283163dac055d094c to your computer and use it in GitHub Desktop.
Example store in Redux
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 {rootReducer} from "./reducers"; | |
import {INITIAL_STATE} from "./reducers/initial-state"; | |
export const store = createStore(rootReducer, INITIAL_STATE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment