Created
April 8, 2019 20:05
-
-
Save rocksinghajay/7cd1b12184a851fd8a9d073b62f4b531 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 { createStore, combineReducers, applyMiddleware } from 'redux' | |
import thunk from 'redux-thunk' | |
import dummyReducers from './reducers/dummyReducer' | |
const reducer = combineReducers ({ dummyReducers }) | |
const store = createStore( | |
reducer, | |
applyMiddleware(thunk) | |
) | |
export default store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment