LiveLoveApp logo

Exercise - Publish Operator


The goal of this exercise is to use the shorthand publish() operator in place of the multicast() operator.

  1. Open exercise on codesandbox. I've already imported the necessary rxjs functions and classes for you, and scaffolded out the bulk the of code. After all, the goal here is for you to practice and retain knowledge, not to improve your typing skills. 😁
  2. Use the publish() and refCount() operators to create a multicasted Observable that is reference counted.