1. 15
    Redux: Reducer Composition with combineReducers()
    2m 10s

Redux: Reducer Composition with combineReducers()

Share this video with your friends

Send Tweet

Learn how to use combineReducers() utility function to generate a reducer from several other reducers instead of writing it by hand.

Boris LOUBOFF
Boris LOUBOFF
~ 9 years ago

Can we use combineReducers() several times in the "nested" reducers or is it just here to create the top level reducer ?

Dan Abramov
Dan Abramov(instructor)
~ 9 years ago

Boris,

You can absolutely use combineReducers() multiple times. In fact "shopping cart" example in Redux repo does that.