Angular's default change detection strategy checks all components in the component tree whenever an event occurs or data changes. This means child components automatically update their views when parent properties change.
export class MyComponent { user = { name: 'Alice', age: 30 }; updateAge() { this.user.age = 31; } }
Angular's default change detection checks all bindings on every cycle, so even if the object reference stays the same, changes to nested properties are detected and the view updates.
The correct property name is changeDetection and the value is the enum ChangeDetectionStrategy.Default. It must be imported from '@angular/core'.
If the child input property lacks the @Input() decorator, Angular does not detect changes to it, so the view does not update even with default change detection.
With the default strategy, Angular runs change detection for the whole component tree starting at the root whenever an event like a click occurs, ensuring all components update as needed.