Explain the life cycle of Angular application?

Below are lifecycle hooks of an Angular component. These hooks are fired after the constructor.

  • ngOnChanges
  • ngOnInit
  • ngDoCheck
  • ngAfterContentInit
  • ngAfterContentChecked
  • ngAfterViewInit
  • ngAfterViewChecked
  • ngOnDestroy
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. For more information - please visit our private policy.