Replies: 1 comment 4 replies
-
@brandonroberts Sorry to tag you here but I don't see anyone else to give me some hints. Thank you |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
First I would like to thank you for that great job you do by providing us this useful framework, also sorry if it's the wrong place to ask that question but I need some guidance to make some choices.
I am currently considering to add NgRx to my Angular/Ionic application but I don't know how to go as I've never used it before.
My question is: Should I use only NgRx Data or should I use each NgRx module(i-e: @ngrx/store,@ngrx/entity,@ngrx/effects,@ngrx/router-store) separately and configure each one manually?
To help me understand NgRx I read that book "Architecting Angular Applications with Redux, RxJS, and NgRx" but there isn't any reference to NgRx Data (I think the module does not yet exist when the book was written) but what bothered me while reading that book is the fact that there are lot of boilerplate code just for configuring NgRx.
Reading NgRx documentation I saw that paragraph about NgRx Data: https://ngrx.io/guide/data#ngrx-data which explains that the module automates the creations of all configurations needed by NgRx to work well, thus avoiding the developer to write less boilerplate configuration code and more business code.
The drawback from using NgRx Data is that it will not help me understand deeper how things work together, if a day I have a problem it will take me more time to solve it if I don't understand how things work behind the scene. I am a Java/Spring developer and after looked at some NgRx Data codes, it looks like a lot to Spring Data but I understand how Spring Data works because I did many configurations manually before the advent of Spring Boot.
So that's where I am, on the one hand I am afraid to not fully understand how NgRx works if I start with it by using NgRx Data on the other hand I would like to avoid writting lot of boilerplate code just to configure NgRx. I need some advices and guidance. Thank you a lot.
Beta Was this translation helpful? Give feedback.
All reactions