Angular Lifecycle Hooks Version: Angular 21 (2025) Tags: Lifecycle, Hooks, ngOnInit, ngOnChanges References: Lifecycle Hooks • API Best Practices - Use OnInit for initialization - Use OnDestroy for cleanup - Use OnChanges for input changes - Use AfterViewInit for DOM manipulation - Use AfterContentInit for projected content - Use DoCheck for custom change detection - Use OnPush with lifecycle - Use constructor vs ngOnInit ---