WATCH NEXT: Angular with NgRx - Building Angular Project From Scratch - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vcfZ0EQpYTA.htmlsi=BptT7eqgflHIoQiQ
Straight to the point with a clean solution. If you are reading up on Component Stores and want to know if it's the right fit for you, this video gives you a good practical example for you to make your decision. Thank you for this! Still looking to see how to I can combine this with NGRX Data to reduce boiler plating.
Amazing video teacher thanks, but I have one question or rather two. One thing that I really like of the global store is the dev-tools which allows to see step by step the actions made by the users, but for the component store I couldn't find it inside the devtools, is this intended? if so what's the best way to debug or rather see the actions that the user does with the component-stores. Another question I have is regarding how to decide when to use component store or global store? in the context of a big project with NX that will host within multiple apps, what would be the best practice approach; is it important for me to worry about component-store or would be best if I only end up using the global store? Thanks again for the great content.
This is why I don't like component store and mostly use global store. Because of devtools which are not available for comp store. There is not a single best practice, just use what fits you and your application. Comp store are fully isolated with the comp and global store not.
I have one question: by providing PostsStore to the component directly, each component will have its own store instance, right? Just like with services without using { providedIn: 'root' } and providing it on the component itself?