Created
February 16, 2018 12:22
-
-
Save mohandere/e692302e913af4b640fa2abce12055ab to your computer and use it in GitHub Desktop.
rootReducer.js
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 { combineReducers } from 'redux'; | |
import { routerReducer } from 'react-router-redux'; | |
import { | |
reducer as toastrReducer | |
} from 'react-redux-toastr' | |
import common from './common/reducers'; | |
import catalog from './catalog/reducers'; | |
import home from './home/reducers'; | |
import product from './product/reducers'; | |
import archives from './archives/reducers'; | |
const rootReducer = combineReducers({ | |
common, | |
catalog, | |
home, | |
product, | |
archives, | |
toastr: toastrReducer, | |
router: routerReducer | |
}); | |
export default rootReducer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment