~/talk

The Tale Tell Code

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular, frontend-architecture]
slides:none on file

Claims that functions in templates force repeated dirty checking and slow apps, shows optional chaining can bloat minified output (one ? adds ~15 chars) and create unreachable, untestable code, and demonstrates refactoring a monolithic component into streams so subscriptions don’t leak. Uses Angular pipes and async pipe, RxJS BehaviorSubject, switchMap and takeUntil to push sort values, produce a VM stream, and remove seven open subscriptions caused by repeated sorts; the refactor shrinks component state and fixes the leaks.

AI-written summary · about

  1. 0:00Intro
  2. 0:33Welcome
  3. 1:58Angular Change Detection
  4. 5:10Default Change Detection
  5. 7:12Optional Chaining
  6. 11:17Tightly Coupled Code
  7. 13:21Refactoring
  8. 16:10Subscriptions
~/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.