Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because of all of the confusion around the `cache` operator, this removes the operator from RxJS head of the 5.0.0 release. This is done for a few reasons\: 1. The name `cache` implies it supports all sorts of caching strategies, when this is pretty limited 2. Behavior around unending and hot observables is hard to reason about 3. Once we have a properly designed `cache` operator we can add it at a later time and it will not be a breaking change
- Loading branch information
1b23ace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the upgrade path from people who have
cache()
already in their source code, is to replacecache
with.publishReplay().refCount()?
1b23ace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really @webbiscuit . It's not the same thing in so many ways.