Vue 3 · Reactivity

Run an effect with automatic tracking

Run immediately and re-run when any reactive value it reads changes.

watchEffect(() => console.log(count.value));

Official Vue 3 documentation

More reactivity commands

All reactivity commands · Vue 3 cheatsheet

Was this page helpful?