Vue.js: Custom Directives Get a Vapor Overhaul
One contributor, edison1105, landed seven related pull requests hardening how custom directives behave in Vue's Vapor runtime, covering execution order, error isolation, root resolution, and new developer warnings. A separate fix addressed a TypeScript config performance issue affecting large workspaces.
Duration: PT2M33S
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-11T13:11:59Z
- Audio duration: PT2M33S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to the Vue.js briefing for September 11th, 2026.
The clear story today is a coordinated push to make custom directives reliable in the Vapor runtime, with seven pull requests from edison1105 touching nearly every angle of directive behavior.
Start with timing and safety. PR 15486 changes custom directives to run only after an element's block effects finish, so directives now see fully initialized content instead of partial state. PR 15484 isolates directive errors so a failure in one directive's cleanup no longer breaks rendering or blocks other…
Then there's a set of new guardrails. PR 15487 warns developers who try to register lifecycle hooks inside custom directives, since that's not supported behavior. PR 15489 flags VDOM-style object directives used inside Vapor templates, and PR 15488 warns instead of silently applying directives through slot outlet…
Rounding out the directive work, PR 15490 changes custom directive arguments to be passed as getter functions, so dynamic arguments now update reactively while static ones stay constant. That's a behavior change worth remembering if you're writing or reviewing custom directives in Vapor mode.
Outside that…
Nearby episodes from Vue.js
- Text Parsing Bugs Converge on the Same Root Cause
- Vapor Runtime's Slot System Gets a Deep Rewrite
- Vapor Mode's Dynamic Component Overhaul
- Suspense and Hydration Get a Reliability Overhaul
- Weekly Recap - Hardening Vapor Mode and Suspense Hydration
- Closing an Old v-once Teardown Bug
- Vapor Hydration Gets a Rethink
- Suspense and Hydration Get a Serious Cleanup