NgRx, a platform which self-describes as focusing on reactive extensions for Angular based on RxJS, shipped its 10th major iteration with a new component store package for local state management. The new package complements the NgRx Store used for application-wide state management. Additionally, a new, experimental NgRx Component package strives to support developers in writing Angular Zoneless applications leveraging Angular Ivy capabilities for better performance.

Brandon Roberts explained in NgRx’s release note the value added by the new local component store:

NgRx Store is about managing complex state from many different sources at a global application level. In some cases, you still want to manage state in a consistent way locally, and don’t need the indirection of actions, reducers, and effects. We’ve designed a new package to handle state at a local level while providing the same benefits similar to the NgRx Store.

#rxjs #angular #javascript #web-development

Reactive Angular Library NgRx v10 Adds Component Local State Management Package
7.60 GEEK