Documentation: Emphasize how important is :key in v-for


#1

Hi!
I have had an error in production that was giving me phantom behaviour in a v-for for 6 months. I tried to reproduce it with the computer and everything was fine. Today investigating, I reread the explanation about how important the :key attribute was on the v-for.
Could anyone mark in red that using the index provided in the same v-for is a terrible idea, the :key needs a unique key.

Cheers!


#2

Documentation feedback / requests are best made through an issue on github.com/vuejs/vuejs.org


#3

Will do!
Thanks!


#4

If it makes you feel any better, I fell victim to the same thing :slightly_smiling_face: