The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Redux: Reducer Composition with combineReducers()

Redux: Reducer Composition with combineReducers()

2:10
Learn how to use combineReducers() utility function to generate a reducer from several other reducers instead of writing it by hand.
Watch this lesson now
Avatar
egghead.io

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

Avatar
Boris

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

Avatar
Dan Abramov

Boris,

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

In reply to Boris
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?