New
- Improved SSR error handling when using
bundleRenderer.renderToStream
- Improved SSR warning when component is missing render function / templates
Breaking Changes
-
keep-alive
is no longer a special attribute: it is now a wrapper component, similar to<transition>
:<keep-alive> <component :is="view"></component> </keep-alive>
This makes it possible to use
keep-alive
on multiple conditional children (note the children should eventually evaluate to a single child - any child other than the first one will be ignored):<keep-alive> <comp-a v-if="a > 1"></comp-a> <comp-b v-else></comp-b> </keep-alive>
When used together with
<transition>
, make sure to nest it inside:<transition> <keep-alive> <component :is="view"></component> </keep-alive> </transition>