Created
November 11, 2018 14:22
-
-
Save productioncoder/9ff756d59d5638a8b12c4609eb884020 to your computer and use it in GitHub Desktop.
Youtube in React: wiring up channels reducer with root 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 apiReducer from './api'; | |
import {combineReducers} from 'redux'; | |
import videosReducer from './videos' | |
import channelsReducer from './channels'; | |
export default combineReducers({ | |
api: apiReducer, | |
videos: videosReducer, | |
channels: channelsReducer, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment