Last active
October 25, 2016 16:53
-
-
Save eLafo/a53f0976028b8a016b2f853f8f754ff4 to your computer and use it in GitHub Desktop.
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
//rootReducer.js | |
import { combineReducers} from 'redux'; | |
//modules import | |
import app from './app'; | |
import topics from './topics'; | |
const combinedReducers = combineReducers({ | |
[topics.constants.NAME] : topics.reducer, | |
[app.constants.NAME] : app.reducer | |
}) | |
export default combinedReducers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment