Concept Flow - Why lifecycle hooks matter
Component Created
ngOnInit Called
Component Rendered
User Interaction or Data Change
ngOnChanges or ngDoCheck Called
Component Updated
Component Destroyed
ngOnDestroy Called
This flow shows how Angular calls lifecycle hooks at key moments: creation, initialization, updates, and destruction of a component.