filter. This makes the whole thing functional, interesting and nice 🌼.
Reactive programming is nothing new. It is a programming paradigm that is suitable for data flows and has the advantage to react on changes. Normally, when data changes, the results have to be adjusted. With reactive programming, the results adapt themselves, because they are informed about the changes and can react accordingly.
With RxJS an Observable is responsible for this. Together with Observer, Schedulers and Subjects types and
reduce methods, asynchronous events can be handled like collections.
RxJS is not only suitable for the browser, the article Reactive programming and Observable sequences with RxJS in Node.js describes how RxJS can be used within Node.js and compares the advantage over Promises. There is also a link to a switchMap article: Deep Dive Into The RxJs switchMap Operator - How Does it Work? A Less Well-Known Use Case (selector functions)