What is a good use case for NgRx store?

Testability as @muetzerich mentioned already is also a benefit of using ngrx/store. Reducers are pure functions and those functions are easy to test, because they take an input and simply return an output and do not depend on properties outside the function and have no side-effects, e.g. http calls etc.

Read more

What are actions in Angular?

An action is a JavaScript object that has a type property describing what happens in your app , such as a user wants to buy IBM stock. Besides the type property, an action object can optionally have another property with a payload of data that should change the app state in some fashion.

Read more

What is NgRx store?

Ngrx is a group of Angular libraries for reactive extensions . Ngrx/Store implements the Redux pattern using the well-known RxJS observables of Angular 2. It provides several advantages by simplifying your application state to plain objects, enforcing unidirectional data flow, and more.

Read more