Skip to content
loading...

re: Redux with Observable Stores in Angular VIEW POST

FULL DISCUSSION
 

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?

 

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

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

code of conduct - report abuse