is there a @ngrx/entity to support NGRX component-store ?
I am running into an issue when I try to update any data in the component-store.
I gotta clone the whole data set and then update immutably.
most of this CURD option been solved by @ngrx/entity on global store.
Is there any advise on this ? please suggest.
Hey @dean-g
That's a great question!
I'm planning to remove the dependency to @ngrx/store from entities soon: https://github.com/ngrx/platform/issues/2333#issuecomment-633082052
I'm already using @ngrx/entity together with ComponentStore in my project, but I use @ngrx/store, so it's not that I'm bringing an extra dep for nothing 馃榾
@alex-okrushko Can you please share me an example if you have anything with @ngrx/entity and component store ?
@alex-okrushko Can you please share me an example if you have anything with @ngrx/entity and component store ?
The code is internal. Are you having any issues with this combo?
I worked on a StackBlitz example of this usage. Let me know if you have any questions
https://stackblitz.com/edit/heroes-component-store?file=src%2Fapp%2Fhero.service.ts
And the streamed video
http://www.twitch.tv/brandontroberts/v/730024164
Great. Thank you very much @brandonroberts . that's really awesome
Most helpful comment
I worked on a StackBlitz example of this usage. Let me know if you have any questions
https://stackblitz.com/edit/heroes-component-store?file=src%2Fapp%2Fhero.service.ts
And the streamed video
http://www.twitch.tv/brandontroberts/v/730024164