Share Network Requests with RxJS merge

André Staltz
InstructorAndré Staltz

Share this video with your friends

Send Tweet

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

Kostiantyn Hryshyn
Kostiantyn Hryshyn
~ 8 years ago

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

André Staltz
André Staltzinstructor
~ 8 years ago

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

David Chan
David Chan
~ 7 years ago

What's the typical usage for not merging the stream with multiple subscriptions?