NgRx stores the application state in an RxJS observable inside an Angular service called Store . At the same time, this service implements the Observable interface. So, when you subscribe to the store, the service actually forwards the subscription to the underlying observable.
How does NgRx store work?
NgRx stores the application state in an RxJS observable inside an Angular service called Store . At the same time, this service implements the Observable interface. So, when you subscribe to the store, the service actually forwards the subscription to the underlying observable.