We can think of actions as events. An action describes something that happened in the application. An action is a plain JavaScript object that has a type field and can optionally include additional data.
By convention, we put data in a field called payload.