DEV Community

Discussion on: Redux with Observable Stores in Angular

Collapse
 
dddsuzuki profile image
dddsuzuki

Hello.
I love this great article.
But, I got a question.

When should I use state?

get state(): AbstractState {
return this._state$.getValue();
}

Template should not consume store.state?

Collapse
 
steveblue profile image
Stephen Belovarich

In this simple expression of an Observable store you can do something like this in a template.

{{ (store.state$ | async).chunk }}