Use View Transitions API for <transition> #7881
Labels
✨ feature request
New feature or request
transferred to rfc discussions
Please manually search in http://github.com/vuejs/rfcs/discussions for the latest discussions
What problem does this feature solve?
View Transitions API (currently supported by Chrome only) is a browser-provided API to do full page or shared element transitions. It greatly simplifies the implementation of
<transition>
as the Vue can directly mutate the DOM state and no need to keep both the old and new components in the DOM at the same time.What does the proposed API look like?
The
<transition>
element should call the View Transition API directly if it is supported. Alternatively, a new element such as<native-transition>
can be provided as it seems the currently CSS syntax is not identical.The text was updated successfully, but these errors were encountered: