Created
September 9, 2018 16:13
-
-
Save sathinduga/793ebfe5ea6df21fc78d351685d3873f to your computer and use it in GitHub Desktop.
Store Config
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 { createStore, combineReducers } from 'redux'; | |
import counterReducer from './reducers/counter_reducer'; | |
const rootReducer = combineReducers({ | |
counter: counterReducer, | |
}); | |
const configStore = () => { | |
return createStore(rootReducer); | |
}; | |
export default configStore; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment