VueJs Series with Nirmal : Lifecycle hooks
Lifecycle hooks are the defined methods which gets executed in the certain stage on the Vue object lifespan. Starting from the initialization to till it gets destroyed, the object follows different phases of life. Here is the famous diagram indicating the hook sequence. (Image source : https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram) Let’s add our code to the hooks and