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 Objects

Redux: Reducer Composition with Objects

2:42
Learn the fundamental pattern of building maintainable Redux applications: reducer composition, and how it can be used to update properties of an object.
Watch this lesson now
Avatar
egghead.io

Learn the fundamental pattern of building maintainable Redux applications: reducer composition, and how it can be used to update properties of an object.

Avatar
jpbamberg1993

I don't understand why you are passing undefined to todo?

Avatar
Michal Frystacky

It lets the specific reducers(todos and visibilityFilter) self populate themselves (with default values) when the todoApp reducer is first called.

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