This project is to show a two stage exploration of NgRx Component Store, as compared to using a BehaviourSubject to store local state in a view model object.
The demo code for this branch is in BookManagerComponent, inside a Nrwl Nx Workspace. I used Nx because it comes with an excellent schematic for scaffolding the global NgRx state - so I could make this demo quicker.
This branch contains an example app using NgRx Component Store to store local state in a view model object.
Link to Behaviour Subject branch
https://ngrx.io/guide/component-store/usage
https://ngrx.io/guide/component-store/read#selecting-from-global-ngrxstore
This project was generated using Nx.