Tracking iterated elements
In the last video, we created an array of items and rendered those using the
In this video, we're going to bind a
key property to the iterated element so that Vue can manage it more efficiently.
v-for and reactive arrays
When you use a
v-for directive, Vue will iterate through the array and create a new DOM element for each member.
Click to load comments...