Answer the question
In order to leave comments, you need to log in
Angular 2 and ngrx, how to implement application state?
Intro : Only familiar with vue.js2, it has vuex and vuex-router-sync.
If I understand correctly, similar functionality in Angle can be achieved with @ngrx (@ngrx/core, @ngrx/store and @ngrx/store-router):
By functionality I mean:
- statement, store, application state
- changing the state through mutations /commits
- subscription to changes in state properties (like subscription to mutations in vuex in vue.js2)
- dispatching mutations in angular components / services
How to implement this in Angular?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question