Conceptual
Login

Composition API Lifecycle Hooks

onMounted, onUpdated, onUnmounted and peers register callbacks by being called synchronously during setup(), which is how they bind to the current instance; setup itself replaces created/beforeCreate, and onMounted is the earliest point where the component's DOM exists.

This Concept is waiting for its first lesson!

onMounted, onUpdated, onUnmounted and peers register callbacks by being called synchronously during setup(), which is how they bind to the current instance; setup itself replaces created/beforeCreate, and onMounted is the earliest point where the component's DOM exists.

Are you a teacher? Sign in to start contributing.

Sign In