Angular · Middle · Question 4 of 75
What does ExpressionChangedAfterItHasBeenCheckedError mean?
- ✓Correct answer: A bound value changed during the same change detection pass after it was checked (only detected in dev mode)
- 2The template has a TypeScript syntax error
- 3An HTTP request returned an unexpected value
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.