Use actions to modify the state of the Redux store

Shane Osbourne
InstructorShane Osbourne

Share this video with your friends

Send Tweet

Actions are the backbone of the Redux store. Instead of having state mutations scattered throughout our application, in Redux we define all of our state updates in the form of simple objects that follow the shape, { type: string, payload: any } - in this lesson we’ll see how we propagate actions from within a component and use that action to decide how to modify the state within the store.

escapiststupor
escapiststupor
~ 3 years ago

WOAH 1:54 what is that extension you are using? Did it just auto completes the import for you? that would be SUPER useful!