~/talk

Comparing Promises, Observables and Signals

Talkat UtahJS Conf 2025 · on Friday, 2025-09-12· [javascript, reactive-programming]
links:none on file
slides:none on file

Compares concrete tradeoffs: promises (native fetch with async/await and AbortController) handle one async value; observables (RxJS) handle zero‑to‑many streams and use operators like mergeMap and switchMap to flatten and cancel inner streams; signals (framework signals used by Angular and SolidJS) hold synchronous state with dependency tracking so updates push “dirty” flags and effects pull values to avoid glitches. Shows examples: room cost and clubhouse UI, the Angular resource API to convert between observables and signals, and when to use each primitive.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Understanding promises
  3. 9:40Working with observables
  4. 23:03Signals for reactive state
  5. 37:14Conclusion and comparison
~/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.