Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created November 11, 2018 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/9ff756d59d5638a8b12c4609eb884020 to your computer and use it in GitHub Desktop.
Save productioncoder/9ff756d59d5638a8b12c4609eb884020 to your computer and use it in GitHub Desktop.
Youtube in React: wiring up channels reducer with root reducer
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