Lifecycle hook
Also written: lifecycle hooks, lifecycle
A function such as `onMounted` or `onUnmounted` that runs code at a particular stage of a component's life.
Also written: lifecycle hooks, lifecycle
A function such as `onMounted` or `onUnmounted` that runs code at a particular stage of a component's life.