Angular · Senior · Question 6 of 75
How does the default change detection traverse the component tree?
- ✓Correct answer: Top-down from the root in a single pass, so data flows one way from parents to children
- 2Bottom-up from the leaf that changed
- 3In random order, in parallel across components
Explanation
Unidirectional data flow is why changing parent state from a child during a check triggers ExpressionChangedAfterItHasBeenCheckedError in development.