F
F
furrya_black2017-08-21 17:19:44
Angular
furrya_black, 2017-08-21 17:19:44

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

1 answer(s)
N
Nicholas, 2017-08-21
@furrya_black

Maybe you should take a stack with Redux? Angular has this: https://github.com/angular-redux/store

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question