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

Dispatching Action Types to Reducers

Dispatching Action Types to Reducers

1:21
A reducer needs to know what you want it to do whenever it's called. You do this by passing along an action type then the reducer can switch based on the type to achieve the logic you need. This lesson covers dispatching action types to your reducer to update the state based on that type.
Watch this lesson now
Avatar
egghead.io

A reducer needs to know what you want it to do whenever it's called. You do this by passing along an action type then the reducer can switch based on the type to achieve the logic you need. This lesson covers dispatching action types to your reducer to update the state based on that type.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?