Skip to content

Glossary: Vue.js

Key (:key)

Also written: :key, key, unique key

A unique ID, such as the SKU, given to each `v-for` element so Vue can move, add and remove the right elements when a list changes.

Where the book teaches it

Related terms

v-for