Please explain various lifecycle hooks of VueJs
All lifecycle hooks automatically have their this context bound to the instance, so that you can access data, computed properties, and methods. This means you should not use an arrow function to define a lifecycle method (e.g. created: () => this.fetchTodos()). The reason is arrow functions bind the parent context, so this will not be the component instance as you expect and this.fetchTodos will be undefined. www.anchoragekitchenremodeling.com
1) beforeCreate2) created3) beforeMount4) mounted5) beforeUpdate6) updated7) activated8) deactivated9) beforeUnmount10) unmounted11) errorCaptured12) renderTracked13) renderTriggered