Skip to content

Glossary: Vue.js

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.

Where the book teaches it

Related terms

onMounted