8
Angular has an interface for each event of its life cycle, for example, OnInit
for the method ngOnInit
Since it is not necessary to implement such interfaces in order to benefit from the events, what is the advantage of implementing the interfaces of Angular lifecycle events in the components that use these events?