The Delightful World of Vue Part 2
Transitioning a Prop Change
  Start your All-Access Pass to unlock this challenge
Buy Access Login

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

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.