Understanding transitions
Another major feature of Vue is transitions. These allow us to apply animation whenever elements are added to or removed from the DOM.
Take a look at this example here in the docs. When we click the button, we see the text fading in and out as the element leaves the page.
You might be thinking, well, isn't that CSS, like, what does that got to do with Vue?
Click to load comments...