Introduction
Get an introduction of actions and action creators.
We'll cover the following...
In Redux, changes to the global state are encapsulated in actions
, rather than done directly. This approach allows us to understand the cause of changes and control the flow more easily.
Actions are triggered by events like keypresses or mouse clicks, timers, or network events. The receiver of action could be a middleware
or a reducer
.
A connection between a sender and a receiver is not necessarily one-to-one. A keypress might cause a single ...