Thanks, Martin.

I actually had a mention of the classic debounceTime + distinctUntilChanged + switchMap combo in an earlier draft of the article, as I think it’s one of the first use cases to which RxJS developers are introduced and, perhaps, one of the reasons why switchMap is often the first choice when a flattening operator is required.

I removed the mention for brevity. I’ll think about putting it back.

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store