Why this matters
Using unique keys helps Vue optimize DOM rendering by tracking node identities, especially when the order of items in a list changes. This is important for components to preserve their state and for elements to ensure predictable behavior in scenarios like animations.