Tips and Gotchas for Using key with v-for in Vue.js 3
When working with v-for in Vue it is typically recommended to provide a special key attribute. Something like this: <div v-for="item in items" :key="item.id"> The purpose of this key attribute is to give "a hint for Vue’s virtual DOM algorithm to identify VNodes when diffing the new list of nodes against the old list" (from […]