This post discusses different approaches to state management in Angular, including pure imperative, pure reactive (RxJs), pure redux (NgRx), reactive-imperative fragmented, reactive-imperative consolidated, and reactive-imperative frameworks. Each approach has its own advantages and drawbacks. The post also provides state management tips based on the author's experience.
•7m read time• From itnext.io
Table of contents
Angular state management styles I’ve seenWhat is “state”?Approach 1. Pure imperativeApproach 2. Pure reactive (RxJs)Approach 3. Pure redux (NGRX)Approach 4. Reactive-imperative, fragmentedApproach 5. Reactive-imperative, consolidatedApproach 6. Reactive-imperative frameworksSummary50 shades of state managementSort: