Define Redux Actions with createAction
Get started with the createAction utility provided by Redux toolkit. Additionally, learn how to simplify the creation of your Redux actions.
We'll cover the following
The createAction API
The API for createAction
is simple but very much needed.
Consider the typical way to create a Redux action. We’ve followed a similar pattern with Flappy.
(i) Create a type string.
Get hands-on with 1400+ tech skills courses.