Skip to content

Comparisons#

Interviewers rarely ask "what does switchMap do?" in isolation. They ask "when would you use switchMap instead of mergeMap?" These pages put similar tools side by side so you can answer with confidence, and revise quickly before an interview.

Available comparisons#

  • EMPTY vs NEVER: two observables that emit nothing, with very different completion behavior.
  • Promise vs Observable: the classic interview opener.
  • Cold vs Hot observables: per-subscriber execution vs shared live streams.