RxJS: What’s Changed with shareReplay?

Photo by Namroud Gorguis on Unsplash

In RxJS version 6.4.0, a change was made to the operator. Let’s look at why the operator needed to be changed, what was changed and how the change can be used to avoid surprises — and bugs.

If you’re only interested in the change, skip to the TL;DR at the bottom of the article.

The operator’s history

--

--

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nicholas Jamieson

RxJS core team member; front-end developer; mentor; speaker; open-source contributor