A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://vuejs.org/api/composition-api-lifecycle below:

Website Navigation


Composition API: Lifecycle Hooks | Vue.js

Composition API: Lifecycle Hooks

Usage Note

All APIs listed on this page must be called synchronously during the setup() phase of a component. See Guide - Lifecycle Hooks for more details.

onMounted()

Registers a callback to be called after the component has been mounted.

onUpdated()

Registers a callback to be called after the component has updated its DOM tree due to a reactive state change.

onUnmounted()

Registers a callback to be called after the component has been unmounted.

onBeforeMount()

Registers a hook to be called right before the component is to be mounted.

onBeforeUpdate()

Registers a hook to be called right before the component is about to update its DOM tree due to a reactive state change.

onBeforeUnmount()

Registers a hook to be called right before a component instance is to be unmounted.

onErrorCaptured()

Registers a hook to be called when an error propagating from a descendant component has been captured.

onRenderTracked()

Registers a debug hook to be called when a reactive dependency has been tracked by the component's render effect.

This hook is development-mode-only and not called during server-side rendering.

onRenderTriggered()

Registers a debug hook to be called when a reactive dependency triggers the component's render effect to be re-run.

This hook is development-mode-only and not called during server-side rendering.

onActivated()

Registers a callback to be called after the component instance is inserted into the DOM as part of a tree cached by <KeepAlive>.

This hook is not called during server-side rendering.

onDeactivated()

Registers a callback to be called after the component instance is removed from the DOM as part of a tree cached by <KeepAlive>.

This hook is not called during server-side rendering.

onServerPrefetch()

Registers an async function to be resolved before the component instance is to be rendered on the server.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4