When I refresh my webpage, I notice that the DOM elements I have hidden using ngIf are briefly visible before the actual state of my webpage loads. Why might this be happening?
I am currently using Angular 8 version.
<div *ngIf="!callInProgress">
<span class="earned" tabindex="0">{{ earned }}</span>
<span class="earned-amount" tabindex="0">{{ amount }}</span>
<span class="account" tabindex="0"
>{{ cashbackAcc }}
</div>