Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youtube in React: wiring up search reducer with root reducer
import apiReducer from './api';
import {combineReducers} from 'redux';
import videosReducer from './videos'
import channelsReducer from './channels';
import commentsReducer from './comments';
import searchReducer from './search';
export default combineReducers({
api: apiReducer,
videos: videosReducer,
channels: channelsReducer,
comments: commentsReducer,
search: searchReducer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment