Angular · Senior · Question 6 of 75

How does the default change detection traverse the component tree?

Explanation

Unidirectional data flow is why changing parent state from a child during a check triggers ExpressionChangedAfterItHasBeenCheckedError in development.

Further reading

Problem with a question

Angular · Senior · question 6

Test yourself

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

Take this quiz