Nicholas Jamieson
1 min readMar 27, 2019

--

BehaviorSubject also has a value property — that IMO should never be used — and it’s concept of an initial value is a little different to a buffer with a size of one.

ReplaySubject can also be constructed with a windowTime (in milliseconds) instead of (or in addition to) a bufferSize.

--

--

Nicholas Jamieson
Nicholas Jamieson

Written by Nicholas Jamieson

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

Responses (1)