Lifecycle hooks are methods Angular calls at specific moments in a component's life — creation, input changes, rendering, and destruction. You implement them by adding interface methods to your component class.
The main hooks in order
ts
{ , , , , } ;
({ ... })
, , {
() {
}
() {
}
() {
}
}
