Start your All-Access Pass to unlock this challenge
Challenge 1 / 1
In this video, we talk about adding a key
attribute to a component so that
we can transition its appearance when a prop changes.
<transition
name="fade"
mode="out-in"
>
<title
:key="currentState"
:text="pageTitle"
/>
</transition>
How does this work?
Skip challenges and go to theNext Chapter