DEV Community

Discussion on: The introduction to Angular you may be missing

Collapse
 
michaeljota profile image
Michael De Abreu

You could use either input properties, or a service to manage the application state. A single service maybe good if your app is really small, but if your app gets larger you may want look into ngrx. That is an implementation of Redux for Angular, really well done and it integrates very well with Angular.

I wrote a little example of the first approach here:

Also, I wrote an opinionated style guide about ngrx: