$ the-wire · showcase
Vue core patches SSR CSS vars, generic scope inference, and null-prototype style crashes
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
Vue's compiler and SSR paths got four targeted correctness fixes, led by CSS variables actually reaching v-bind() styles inside Teleport, KeepAlive, loops and fragments.
fix(compiler-ssr): inject css vars into the content of keep-alive and teleport vuejs/core
Components using v-bind() in <style> whose root is a Teleport (a modal rendered to body, for instance) or a KeepAlive handed off server HTML with no CSS variables at all, because ssrCssVars marks the root vnode with v-bind="_cssVars" and those wrappers render their children without it.
fix(ssr): inject css vars through root loops and fragments vuejs/core
A companion fix closes the matching hydration gap: CSS-variable styles now apply to elements rendered inside loops and conditional templates during SSR, and survive hydration across nested templates, fragments and component roots without spurious style-mismatch warnings.
fix(compiler-sfc): preserve generic type argument scopes vuejs/core
Generic type argument scopes were being dropped in compiler-sfc, breaking props and models that reference default type parameters, imported types, aliases and nested types. The fix resolves #16248; the radix-vue fallout is being addressed separately in reka-ui.
fix(compiler-sfc): honour user `onWarn` + surface inline template tips vuejs/core
Warnings raised by a user nodeTransform or a compat deprecation survived dev and vanished in production builds of <script setup> components, because compilerOptions was spread and then had onWarn overwritten. Inline template tips now come back to the caller instead of being swallowed by warnOnce.
fix(shared): handle objects without a prototype in looseEqual (fix #16250) vuejs/core
Passing a fresh null-prototype object as a component's style could throw during the update check: looseEqual assumed hasOwnProperty and a working String() conversion. It now uses the existing hasOwn helper with toTypeString as a fallback. Elsewhere, test-utils moved its isVisible fixtures to attachTo for jsdom 31's detached-element computed styles and broadened VueWrapper.props() to resolved in...