Please explain to me why I keep getting this error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
Obviously,
I had this sort of error in Ionic3 (which uses Angular 4 as part of it's technology stack).
For me it was doing this:
So I was trying to conditionally change the type of an ion-icon from a pin to a remove-circle, per a mode a screen was operating on.
pin
remove-circle
I'm guessing I'll have to add an *ngIf instead.
*ngIf