Actions
Explore how to create and use actions in NgRx to handle state changes in Angular applications. This lesson helps you understand defining action types, implementing action classes, and ensuring reliable state management to reduce bugs in larger apps.
We'll cover the following...
We'll cover the following...
Actions
In ngrx parlance, an action is a defined way that the application’s state can be modified.
In this case, the application has two different ways to modify the state: adding a list of patients done in the initial load and updating a single patient.
Let’s create a file (don’t use the ng ...