~/talk

NgRx Selectors: How to stop worrying about your Store structure

Talkat NGConf 2018 · on Thursday, 2018-04-19· [angular, frontend-architecture]
slides:none on file

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

  1. 0:00Start
  2. 5:57Refactor the reducer for selectors
  3. 8:55REACTIVE
  4. 12:12Entity pattern in a reducer
~/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.