Chapter 7
Fixing Anti-Patterns and Practicing Unit Tests
Section 4
Using Multicast Operators to Prevent Requesting Same Data Again for Each Observer
We will learn how sharing cold observable values for multiple subscribers can prevent unneeded resource usage and prevent extra network requests. - Review a typical use case by making a backend network request example to explain when using multicasting can be appropriate. - Learn how to use Rx.JS Subject to share a cold observable run for many subscribers - Understand how operators allow us to implement multicasting in a few lines of code