shareReplay in RxJS 5

前端 未结 2 863
无人及你
无人及你 2020-12-19 02:52

According to the RxJS 5 MIGRATION.md it looks like shareReplay() been removed.

  1. Why?
  2. Does .publishReplay(1).refCount() faith
2条回答
  •  甜味超标
    2020-12-19 03:30

    Happy news, shareReplay() is back in RxJS 5.4.0: https://github.com/ReactiveX/rxjs/blob/892700dd4f5d5e5f9ae9276ede32208f4390c5e9/CHANGELOG.md#540-2017-05-09

提交回复
热议问题