-
Notifications
You must be signed in to change notification settings - Fork 545
<transition> API changes #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
What would be the best way to refactor such code regarding we can no longer use <TransitionExpand v-if="user">
<UserInfo :user="user" />
</TransitionExpand>
If we refactor it like this we would get an error: <TransitionExpand :visible="Boolean(user)">
<UserInfo :user="user" /> <!-- UserInfo is rendered despite not being visible -->
</TransitionExpand> Should we write <TransitionExpand :visible="Boolean(user)">
<UserInfo v-if="user" :user="user" />
</TransitionExpand> |
You'd probably just do it the normal way: <TransitionExpand>
<UserInfo :user="user" v-if="user" />
</TransitionExpand> |
This RFC is now in final comments stage. An RFC in final comments stage means that: The core team has reviewed the feedback and reached consensus about the general direction of the RFC and believe that this RFC is a worthwhile addition to the framework. |
Transition class name adjustments [Rendered]
v-enter
transition class tov-enter-from
v-leave
transition class tov-leave-from
Using
<transition>
as component's root will no longer trigger transitions when the component is toggled from the outside. [Rendered]