Loading…

What are angular 2 hooks?

In Angular apps, hooks are functions that are called on particular stages of a component’s life. Hooks are essential if your app is based on the component architecture. Example for hooks is $onInit, $onChanges, etc. which are properties pre-defined by Angular and can be exposed on component controllers.

Suggest An Answer

No suggestions avaliable!

Latest post from Angular 2 Interview Questions

Ask Question