Short lived Observables and higher-order mapping operators
I was reading this article and I can’t wrap my head around why switchMap
operator is preferred over other operatros like mergeMap
, concatMap
, exhaustMap
in case of short-lived, finite value, Observables
like HTTP Request?
How to keep an Rxjs observable live even after errors (ignore errors)
I’m sending some values to an rxjs pipe followed by a subscription. In case of error
s, I want to ignore them and continue with the remaining inputs.
RXJS observing an observable on a possibly undefined object
Given two sources, one of which might be undefined how can I combineLatest of the two?
Why Rxjs switchMap only outputting last value from an of() source observable?
Below is 2 snippets one with map
, and second one with switchMap
.