Vue.js: Closing an Old v-once Teardown Bug
A single pull request, PR #15435, fixes a long-standing unmount bug where components inside v-once blocks could be skipped after a parent rerender, an issue traced back through multiple linked reports over several years.
Duration: PT2M4S
Episode overview
This episode is a short developer briefing from Vue.js.
It explains recent repository work in plain language.
- Show: Vue.js
- Published: 2026-09-06T13:08:40Z
- Audio duration: PT2M4S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's September 6th, 2026, and this is your Vue.js briefing.
Today's activity is narrow but notable: one pull request addressing a teardown bug that's been on the radar for a while.
PR number 15435, from contributor onmax, fixes a case where unmounting a rerendered parent component could skip cleanup for children inside a v-once block. The fix preserves the block's "has once" marker across updates, and keeps the correct cache index when vnodes are cloned. On unmount, it now clears only the…
What makes this worth flagging isn't just the fix itself, it's the history behind it. The pull request links back to issue 5154 and a prior attempt in pull request 8809, both addressing the same whole-block marking approach for v-once. It also connects to a live teardown failure reported in the Nuxt framework, issue…
For anyone maintaining apps with v-once for static content, especially inside slots or repeated component instances, this is the kind of bug that causes intermittent memory leaks or stale DOM references that are hard to reproduce. The fix targets the renderer's optimized mode and vnode cloning logic directly, which…
What's next: watch for this to land in an upcoming patch…
Nearby episodes from Vue.js
- Weekly Recap - Hardening Vapor Mode and Suspense Hydration
- Vapor Hydration Gets a Rethink
- Suspense and Hydration Get a Serious Cleanup
- Vapor Mode's Transition Overhaul
- Vapor Runtime's Async Component Overhaul
- Vapor Mode Stability Push
- The Once-Listener Chase in Runtime Vapor
- Weekly Recap - Vapor Mode Hardening & Cross-Renderer Consistency