Lifecycle hooks A component instance has a lifecycle that starts when Angular instantiates the component class and renders the component view along with its child views. The lifecycle continues with change detection,
What is Angular Lifecycle? | The A to Z Guide | Hooks & Components