State Management in Angular: From Facades to NgRx and back
summary
Compares concrete implementations: a small demo using BehaviorSubject + RxJS service to share and filter a book list, and a larger demo wiring NgRx with Effects and router-store plus Nx generators to scaffold actions reducers selectors and a facade. Argues RxJS is often enough early on, NgRx adds reproducibility at the cost of deliberate boilerplate, and both demos run — the RxJS filter and the NgRx/effects + router filtering both work as shown.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 3:11State Types
- 4:24State Examples
- 6:01State Management Ideas
- 10:00State Management Limitations
- 12:02Behavior Subject
- 14:12Async Pipe
- 20:52Constructs
- 23:36Redux
- 27:19Using NgRx
- 34:07Using NgGenerate
- 35:15Using NgReduce
- 37:07Load Books
- 38:01Filter Books
- 40:26Add Store
- 41:07Dispatch Action
- 42:40What we did know
- 43:31Facades
- 44:10Service
- 48:23Advice
related talks
30mState Management Patterns and Best Practices with NgRx
20mState Management at Scale w/NgRx
26mState Management Patterns and Best Practices with NgRx
20mComplexity Management with NgRx
34mReactive State Management For Your Angular App
01h 04mRedux for Angular -- Introduction to Ngrx Ecosystem
35mAdvanced NgRx Techniques
17mBefore NgRx: Superpowers with RxJS + Facades
