Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: wire up comments reducer to root reducer
import apiReducer from './api';
import {combineReducers} from 'redux';
import videosReducer from './videos'
import channelsReducer from './channels';
import commentsReducer from './comments';
export default combineReducers({
api: apiReducer,
videos: videosReducer,
channels: channelsReducer,
comments: commentsReducer,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.