RxJS Observables: Cold Vs Hot Explained
Exploring RxJS observables: cold vs hot, understanding differences & converting between them with publish() and connect(). Prevent memory leaks by completing observables & handling unsubscribing.
I recently came across MkDocs-Material by Martin Donath, a fantastic open-source project with over 22k GitHub stars. It’s an incredible contribution to the community, making documentation hosting effortless. While exploring it, I got curious about how such a large project achieves reactiveness. The stack is mostly HTML, SCSS, Preact, RxJS, and a few workers, and I saw this as the perfect opportunity to dive into RxJS—especially how it utilizes Observables and other advanced patterns. I wrote an article on multicast yesterday, check it out: Multicast & Chil...