From Dev.to
Fixing Angular race conditions with switchMap and shareReplay
Your search box works fine in dev. In production, users type fast, the network is uneven, and suddenly the results on screen don't match what they typed. That's a race condition, and RxJS gives us cle...
