1/* Reducer Composition */
2import { createStore, combineReducers } from 'redux';
3
4const rootReducer = combineReducers({
5 first: firstReducer,
6 second: secondReducer
7});
8const store = createStore(rootReducer);
9
10/* About Redux.combineReducers()
11 * accepts an object in which keys are associated to specific
12 * reducer functions, these keys are used as the name for the
13 * associated piece of state
14*/