November 2018
Beginner
502 pages
10h 22m
English
The type property is required in the action objects and must be called type.
As many as we like! It needs to include at least one for the type property. It can then include as many other properties as we need in order for the reducer to change the state but this is generally lumped in one additional property. So, generally an action will have one or two properties.
An action creator is a function that returns an action object. Components invoke these functions in order to make a change to the state in the store. ...
Read now
Unlock full access