$ the-wire · showcase
DevTools stops stalling on big trees, test-utils 2.6.0 breaks prop reactivity
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
The v9 DevTools kit lands four performance fixes that turn multi-second stalls on 5,000-component trees into bounded work, while test-utils 2.6.0 ships a breaking change to how plain object and array props are made reactive.
v2.6.0 vuejs/test-utils
Plain object and array props are no longer made deeply reactive, so tests that mutate a prop in place and expect a re-render must now wrap the value in reactive() before mounting or pass a new value to setProps. Note that passing the same mutated object back to setProps does not trigger a re-render; already-reactive props are unaffected.
perf(kit): defer plugin setup until devtools connects vuejs/devtools
Plugin setup now waits for the first panel connection or an explicit runtime query, command, or custom request, with internal plugin API calls routed through captured raw requests so they do not wake the plugins. The problem it removes: Pinia installs synchronous deep watchers during setup, so 5,000 Map writes stalled the app for about 14 seconds in v9 even with the panel closed.
perf(kit): avoid quadratic work on bulk component mount and unmount vuejs/devtools
Replacing a keyed tree of roughly 5,000 components with the v9 panel open took about 5.4 seconds of elapsed update time, driven by two quadratic paths: the event buffer re-serialized the whole accumulated patch list per incoming event, and the DOM-order cache kept invalidating and rescanning the full parent. Both are now incremental.
fix(kit): load oversized component trees progressively instead of failing vuejs/devtools
A 10,000-component tree produced a components:treeSnapshot of about 2.9 MB against a default 2 MiB transport budget, so the panel could not finish initializing and reconnected into the same failing snapshot, with repeated absolute file paths accounting for about 36% of the payload. Snapshots are now planned bounded and reduced in depth only when needed to fit.
perf(kit): avoid per-dispatch closures and defer timeline payloads vuejs/devtools
The kit iterates live listener Sets with for...of in hook/install.ts and runtime/events.ts instead of allocating a closure per dispatch, and it no longer builds performance timeline payloads that the 500-events-per-second admission check would discard anyway. Grouping, component-name and phase reads, and timestamp semantics are unchanged.
fix(compiler-sfc): match tsconfig includes relative to the config file vuejs/core
In the long tail: compiler-sfc now matches tsconfig include/exclude relative to the config file rather than the importer, fixing path resolution for project-references layouts, and test-utils added setValue on contenteditable elements plus restored the 'use strict' directive that Rolldown's output.strict 'auto' default dropped from the cjs and iife builds in 2.6.0.
Action items