vue-skilld
vuejs/core vue@3.6.0-beta.10
Tags: csp: 1.0.28-csp, v2-latest: 2.7.16, legacy: 2.7.16
References: Docs
API Changes
This section documents version-specific API changes — prioritize recent major/minor releases.
-
NEW:
createVaporApp()(experimental) — new in v3.6, creates a Vapor-mode app instance without pulling in the Virtual DOM runtime; usecreateApp()for standard VDOM apps source -
NEW:
vaporInteropPlugin(experimental) — new in v3.6, install into a VDOMcreateApp()instance to allow Vapor components inside VDOM trees; without it, Vapor SFCs cannot be used in VDOM apps source -
NEW:
<script setup vapor>attribute (experimental) — new in v3.6, opts an SFC into Vapor Mode compilation; only works with<script setup>; does not support Options API,app.config.globalProperties, orgetCurrentInstance()source -
NEW:
useTemplateRef(key)— new in v3.5, preferred replacement for plainrefvariable names matchingref="key"attributes; supports dynamic string IDs at runtime unlike the old static-only pattern source -
NEW:
useId()— new in v3.5, generates stable unique IDs per component instance guaranteed to match between SSR and client hydration; replaces manual ID management for form/accessibility attributes source -
NEW:
onWatcherCleanup(fn)— new in v3.5, registers a cleanup callback inside awatchorwatchEffectcallback; replaces theonCleanupparameter pattern and can be called from nested functions source