My service class, before calling a web service, needs to get a property called dataForUpdate from my state. Currently, I\'m doing it like this:
dataForUpdate
That's works for me. You need to import Store from '@ngrx/store' and AppState is your state.
private state: AppState; constructor(private store: Store) { } ngOnInit() { this.store.select(x => this.state = x).subscribe(); }