Question: rxjs when to use switchmap?
Answer: concatMap could be used as a conservative choice;
mergeMap should not be used — the ordering of the results is important;
switchMap could be used — when a new search is made, pending results are no longer needed; and.