I basically followed this guide to implement an Observable data service.
In a store class (ItemsStore
), I have my BehaviorSubject
which hol
Solved it - and it was a very stupid mistake - shame on me. ItemsStore
gets injected in two different classes, and since the Dependency Injection creates an instance for each injection - well, then we have two of the same kind where there should only be one.
Moving the dependency (ItemsStore
) to the global providers array solved the problem.