$ the-wire · showcase
VitePress enables production error throwing, JSX Vapor refines slots and types
By RepoJournal · Filed · About Vue.js
VitePress now surfaces unhandled SSR errors in production, while JSX Vapor streamlines slot internals and preserves union component props.
VitePress enabled `throwUnhandledErrorInProduction`, so production builds now throw unhandled errors during SSR instead of silently swallowing them [1].
In vue-jsx-vapor, the NON_STABLE slot marker was split out of VaporSlotFlags and slot outlet forwarding flags were collapsed to a 2-bit mode [2][3]. A separate fix preserves union component props in type definitions, resolving the case where a component's props were incorrectly narrowed [4].
Action items
- → Review VitePress SSR error handling if you rely on graceful degradation in production vuejs/vitepress [plan]
- → Test union component props in vue-jsx-vapor after the type fix vuejs/vue-jsx-vapor [monitor]
References
- [1] feat(ssr): enable `throwUnhandledErrorInProduction` (#5419) ↗ vuejs/vitepress
- [2] refactor(vapor): collapse slot outlet forwarding flags to a 2-bit mode ↗ vuejs/vue-jsx-vapor
- [3] refactor(vapor): split NON_STABLE slot marker out of VaporSlotFlags ↗ vuejs/vue-jsx-vapor
- [4] fix(types): preserve union component props ↗ vuejs/vue-jsx-vapor