You have all your state ready, your dataset, and now you need to fetch new data from an outside source or change this data inside your application. Here comes the part where actions do their job.
Actions are responsible for orchestrating the process in this communication between the application and the outside world. Controlling when the data need to be mutated on the state and returned to the caller of the action.
Usually, the action is a dispatch through a component or a view, but there are some occasions where actions can dispatch another action to create a chain of actions in your application.
In this recipe, we will learn how to create the actions needed in our application to define a user's list, update a user, and remove a user.