NgRx Selectors: How to stop worrying about your Store structure
summary
Concrete claim: using NgRx selectors makes store shape irrelevant by composing view models at read time instead of writing them into reducers. Demonstrations use createFeatureSelector and createSelector, flattening arrays into an entity pattern for O(1) lookups, and wiring URL params via @ngrx/router-store. Reduction in reducer complexity and action churn is shown with one slice replacing three, selectors recomputing only affected queries, and the approach working on large collections and router‑driven detail pages.
AI-written summary · about
chapters (4)
related talks
18mBuilding Sub States w/ NgRx Selectors
22mState Management Techniques and Family Therapy
35mAdvanced NgRx Techniques
05mNgRx Feature Creator
27mngRx the last piece in the Angular architecture puzzle
22mThe Secret Sauce of State Management
41mUnderstanding the Selector Pattern and Memoization in ngrx
34mNgRx: Tips & Tricks
