Vue.js: KeepAlive Gets Its Cleanup Pass
Three separate fixes converged on KeepAlive's Vapor implementation, tightening how cached components are pruned and deactivated, while separate fixes addressed reactivity edge cases and boolean attribute rendering.
Duration: PT2M24S
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-07-31T13:10:36Z
- Audio duration: PT2M24S
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 July 31st, and today's Vue core activity centers on one component: KeepAlive.
Three of today's five pull requests, all from edison1105, target KeepAlive behavior in the Vapor renderer. PR 15172 defers KeepAlive updates while async setup is still pending, so components don't briefly render the wrong branch — matching how the virtual DOM renderer already behaves. PR 15181 fixes pruning in…
The common thread here is timing and ownership. KeepAlive has to coordinate DOM state across async boundaries, transitions, and the interop layer between Vapor and virtual DOM — and when that coordination slips, you get double transitions, stale renders, or components that reappear after they should be gone. If…
Outside KeepAlive, two smaller but notable fixes. PR 15185 from DaZuiZui closes a long-standing reactivity gap — issue 7602 — where mutations via Object dot define property weren't triggering reactive updates. The fix adds a trap for that path while making sure readonly proxies still reject those mutations, and…
And PR 15186 from christian-byrne fixes a Vapor rendering bug where boolean attributes like "readonly" or "novalidate" were being written out as the literal string…
W…
Nearby episodes from Vue.js
- Vapor Hydration Gets Hardened
- Edge Case Cleanup Across the Core
- Vapor Mode Closes Gaps With Virtual DOM
- Weekly Recap - Hardening Vapor Mode for Real-World Frameworks
- Tightening the Package Manager's Trust Policy
- Vapor Mode's Interop Growing Pains
- Custom Element Mount Order Fix
- Vapor Hydration and Attribute Fixes