A RetroSearch Logo

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

Search Query:

Showing content from https://vuejs.org/api/reactivity-core below:

Website Navigation


Reactivity API: Core | Vue.js

Reactivity API: Core ref()

Takes an inner value and returns a reactive and mutable ref object, which has a single property .value that points to the inner value.

computed()

Takes a getter function and returns a readonly reactive ref object for the returned value from the getter. It can also take an object with get and set functions to create a writable ref object.

reactive()

Returns a reactive proxy of the object.

readonly()

Takes an object (reactive or plain) or a ref and returns a readonly proxy to the original.

watchEffect()

Runs a function immediately while reactively tracking its dependencies and re-runs it whenever the dependencies are changed.

watchPostEffect()

Alias of watchEffect() with flush: 'post' option.

watchSyncEffect()

Alias of watchEffect() with flush: 'sync' option.

watch()

Watches one or more reactive data sources and invokes a callback function when the sources change.

onWatcherCleanup()

Register a cleanup function to be executed when the current watcher is about to re-run. Can only be called during the synchronous execution of a watchEffect effect function or watch callback function (i.e. it cannot be called after an await statement in an async function.)


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