~/talk

Comparing Promises, Observables, and Signals

Talkat Commit Your Code 2026 · 2026-09-02..09-04· [javascript, frontend-architecture]
links:none on file
slides:none on file

Compares concrete behaviors: Promises fit single-value HTTP use cases and show a fetch example with fetch + AbortController for cancellation; Observables (RxJS) handle zero-to-many streams, demoing interval, fromEvent, subscribe/unsubscribe and operator combos like mergeMap/switchMap and take/takeUntil to avoid leaks; Signals are synchronous computed values that deliver glitch-free updates and memoization for UI state, with Angular examples converting signals↔observables for backend calls. Practical tradeoffs and specific code patterns are emphasized.

AI-written summary · about

  1. 0:00Reactive primitives intro
  2. 1:30Pyramid of doom with promises
  3. 5:45Promises for HTTP and cancel
  4. 6:49Observables for multiple values
  5. 11:04Observables cancel and leak risks
  6. 12:28Operators for observables
  7. 18:11What are signals
  8. 22:24Signals in Angular
  9. 23:49Choosing between primitives
~/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.