Angular · Middle · Question 4 of 75

What does ExpressionChangedAfterItHasBeenCheckedError mean?

Explanation

In development Angular runs a second check to make sure data flows one way. It is typically caused by changing parent state in a child's ngAfterViewInit or by getters that return new values each time. Fix the data flow instead of hiding it with setTimeout.

Further reading

Problem with a question

Angular · Middle · question 4

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz