Last active
October 14, 2018 20:14
-
-
Save pahund/991bd506c12d0d1199f1d05b4d512187 to your computer and use it in GitHub Desktop.
Creating the application's reducer
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 { reducer as hackerNews } from '@modular-toolkit/demo-module'; | |
import { reducer as home } from './pages/home'; | |
import { reducer as about } from './pages/about'; | |
import { reducer as contact } from './pages/contact'; | |
export default combineReducers({ | |
bricks: combineReducers({ | |
hackerNews | |
}), | |
pages: combineReducers({ | |
home, | |
about, | |
contact | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment