According to the RxJS 5 MIGRATION.md it looks like shareReplay()
been removed.
- Why?
- Does
.publishReplay(1).refCount()
faithfully replicate the behaviour? Basically I need to replay the single most recent data set to any new subscribers.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…