~/talk

Stop Micromanaging State and Start Being Reactive

Talkat NG-DE Conference 2022 · 2022-10-06..10-07· [angular, frontend-architecture]
slides:none on file

Argues that moving from imperatively micromanaged component properties to reactive streams cuts complexity: replaces many boolean/array props, void mutating methods and nested subscriptions with a service-backed RxJS model using BehaviorSubject with private subject, combineLatest + scan and the async pipe. Demo refactors a 1500-line component into under 30 lines, exposes a filteredProducts observable, and shows the UI working in the browser. Uses Angular + RxJS, no new library required.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:46What is state micromanagement
  3. 8:06Problems with void methods and subscriptions
  4. 15:46Transitioning to reactive coding
  5. 22:06Setting up observable streams
  6. 30:07Live demo and results
  7. 31:50Further learning and resources
~/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.