Skip to content
masterclass Buddy

Vue.js · Function

reactive

reactive() returns a deeply reactive Proxy for an object. Use the proxy to read and change state so Vue can track those changes.

Last updated

Syntax

function reactive<T extends object>(target: T): UnwrapNestedRefs<T>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ref()
  • shallowReactive()
  • readonly()
  • watch()
  • watchEffect()

Source: Reactivity API: Core | Vue.js. Checked 2026-11-03.