0
Why would you use switchMap over mergeMap in Angular services?
subina kallyani
hard
0completed
331
Answer
switchMap cancels previous subscriptions, which is crucial for APIs like search autocomplete, avoiding race conditions.
Click to Reveal Answer
Tap anywhere to see the solution
Revealed
Comments0