~/talk

State Management in Angular: From Facades to NgRx and back

links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 3:11State Types
  3. 4:24State Examples
  4. 6:01State Management Ideas
  5. 10:00State Management Limitations
  6. 12:02Behavior Subject
  7. 14:12Async Pipe
  8. 20:52Constructs
  9. 23:36Redux
  10. 27:19Using NgRx
  11. 34:07Using NgGenerate
  12. 35:15Using NgReduce
  13. 37:07Load Books
  14. 38:01Filter Books
  15. 40:26Add Store
  16. 41:07Dispatch Action
  17. 42:40What we did know
  18. 43:31Facades
  19. 44:10Service
  20. 48:23Advice
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.