Fermin Blanco
1 min readJul 17, 2020

--

You could also unwrap the value in one place, then make it available in the template using template vars,

<div *ngIf="isCompetenceCatalaogEditor$ | async" #templateVar> some content</div>

<div *ngIf="templateVar.value" > some more content</div>

<div *ngIf="templateVar.value" > some more more content</div>

but maybe it does not fit for all cases you were writing about.

--

--

Fermin Blanco
Fermin Blanco

Written by Fermin Blanco

I write to fill my gaps not to show yours.

Responses (1)