Closed ntvinhdev closed 1 year ago
In exampleModifyReference(), because we assign service.items with another BehaviorSubject instance, this subject no longer emits Great item, instead it will emit Later. I detected that when trying to learn Side effects session.
exampleModifyReference()
service.items
Great
Later
In
exampleModifyReference()
, because we assignservice.items
with another BehaviorSubject instance, this subject no longer emitsGreat
item, instead it will emitLater
. I detected that when trying to learn Side effects session.