~/talk

From Inactive to Reactive with ngrx

Talkat ng-conf 2017 · 2017-04-05..04-07· [angular, frontend-architecture]
slides:none on file

A simple book‑search app gets reworked into a predictable reactive system: UI events become actions, state lives in ngrx store, HTTP requests move into ngrx effects and return search‑success actions, components subscribe via selectors and use OnPush change detection, and the Redux DevTools time‑travels state for debugging. Code shown: action classes, a reducer, selectors, an effect using switchMap, module wiring and removal of HTTP from components so the UI is pure.

AI-written summary · about

  1. 0:00Intro
  2. 4:09Model Actions
  3. 8:36Search Reducer
  4. 20:25Selectors
  5. 23:00Recap
  6. 24:48Indirect Effects
  7. 26:10Side Effects
  8. 30:27Recap Effects
  9. 31:33Refactoring
  10. 33:08Redux Dev Tools
  11. 36:56Wrap Up
~/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.