Building Sub States w/ NgRx Selectors
summary
Shows how NgRx selectors actually behave: selectors receive global state, compose small view models and createSelectorFactory provides the default memoization strategy, and examples demonstrate memoization preventing recompute for unchanged arrays and entity lookups so expensive maps avoid reruns. Walks through building sub‑state selectors for movies users books with concrete code patterns, then implements custom memoization for arrays and previews NgRx v8 features like action creators reducer helpers and NgRx Data.
AI-written summary · about
chapters (4)
related talks
41mUnderstanding the Selector Pattern and Memoization in ngrx
19mNgRx Selectors: How to stop worrying about your Store structure
22mThe Secret Sauce of State Management
34mNgRx: Tips & Tricks
35mAdvanced NgRx Techniques
32mLevel up your NgRx game
22mState Management Techniques and Family Therapy
26mState Management Patterns and Best Practices with NgRx
