The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Reactive Programming - Sharing network requests with RxJS merge

Reactive Programming - Sharing network requests with RxJS merge

3:34
This lesson teaches how to control whether network requests are cached or are pessimistically re-executed, with the help of the RxJS merge operator.
Watch this lesson now
Avatar
egghead.io

This lesson teaches how to control whether network requests are cached or are pessimistically re-executed, with the help of the RxJS merge operator.

Avatar
Kostiantyn

.shareReplay(1); - Doesn't work for version Rx5, what could do the save behaviour in version 5?

Avatar
Andre

In RxJS v5 that would be .publishReplay(1).refCount()

In reply to Kostiantyn
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?