Every component/directive in Angular has a lifecycle; it goes through a number of different phases from its creation, to updating, to destroy. We can hook into those different phases to get some pretty fine-grained control of our application.
source https://www.c-sharpcorner.com/article/angular-component-lifecycle-hooks-overview/
No comments:
Post a Comment