HIDE PLAYLIST

Use actions to modify the state of the Redux store


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.