So I have BaseComponent and many childs extends it:
export class Child1Component extends BaseComponent implements OnInit, AfterViewInit
Child1Component does not call super.ngAfterViewInit(), but for some reason BaseComponent AfterViewInit is executed. I just console it log:
ngAfterViewInit() {
console.log('BaseComponent AfterViewInit')
}
How is that possible? What else except of super.ngAfterViewInit() can call parent's life cycle hook?
Could this be happening only in development mode?