The <transition-group> tag represents a container for a group of elements that will be displayed at the same time. By default, it represents the <span> tag, but by setting the tag attribute to ul, we made it represent an unordered list.
Every element in the list must have a unique key or the transitions won't work. Vue will take care of applying a transition to every element that enters or leaves.