ngrx-store-effects-app icon indicating copy to clipboard operation
ngrx-store-effects-app copied to clipboard

convert reducer using ngrx/entity ?

Open rijine opened this issue 7 years ago • 3 comments

rijine avatar Feb 01 '18 07:02 rijine

I was wondering about this too:

https://github.com/ngrx/platform/tree/master/docs/entity

gssjr avatar Feb 02 '18 14:02 gssjr

I don't think it is a good idea. I've seen another tutorial before this one using it from start and it was confusing for me, ngrx/entity is a helper module that was introduced later to help reduce code boilerplates. I like it very much and I'm using it with most of my entities now but I also liked the fact that it wasn't used in this tutorial so I was able to better understand how ngrx/redux works. I think using helpers designed to reduce/hide parts of code should be avoided at earlier learning steps.

tunecino avatar Feb 03 '18 01:02 tunecino

@tunecino agree...in future you might be using entity also. so at least enhancing this with entity will be another good step. May be to different branch!

rijine avatar Feb 03 '18 11:02 rijine