Link:  https://www.youtube.com/watch?v=NBi6mUeInmk

In Vue.js, Lifecycle hooks are the defined methods that get executed in a certain stage of the Vue object lifespan. Starting from the initialization, to when it gets destroyed, the object follows different phases of life.

vuejs lifecycles hook