-
Notifications
You must be signed in to change notification settings - Fork 6
NgRx
Marius Unger edited this page Mar 14, 2023
·
4 revisions
An introduction to this topic can be found here.
Our main reasons for using NgRx are:
- seperation of components and business logic
- single global state of the application based on the redux store
- difficult to maintain distributed states
- easier access to information
- clear dependencies
- based on RxJS
- good integration in Angular
- reactive programming
-
immutability for change detection
- better performance
- reduction of side effects
- the use of actions to update the state is beneficial for
- organizing your code
- allows event based pattern
- caching for selectors
- better debugging
- better performance
- provides best practices and pattern
- cleaner code
- use of Redux Dev Tools