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.

Sizin İçin Seçtik  Why we use NgRx store in Angular?

Leave a Reply

Your email address will not be published. Required fields are marked *