NgRx – Strongly Typing the Actions

Introduction

This is the third post on topic of NgRx. Previous two posts are available on the following links

In this post, we’ll cover how to strongly type our actions.

In NgRx world, its the action that makes the application go. When user click something, we kick-off an action. Need to load data, we kick-off an action. User updates a value and click save, we kick-off another action.

The result of the action is often a change of state.

But lets first see how our actions are currently setup

Subscribe to get access

Read more of this content when you subscribe today.

With this, we’ve wired-up few actions in our application. We’ll end this post at this point.

Summary

In this post we continued with our learning of NgRx with angular and learned what role actions play in our application. We also wired-up few actions in sample application.

Following are few links related to this post

Let me know if you have questions and/or comments. Till next time, Happy Coding!


Discover more from Hex Quote

Subscribe to get the latest posts sent to your email.

Leave a Reply

Discover more from Hex Quote

Subscribe now to keep reading and get access to the full archive.

Continue reading