rxjs filter inside pipe✅ vs subscribe with if confition👎

This one never gets old 🙂 — at least not as long as we’re working with Observables. When working with Observables, we often don’t need every single value that comes through. That’s a perfect job for the filter operator. Fisherman’s net Imagine you’re observing a stream of fish (Observable<number>), where each fish has a size (1, 2, …