v-for
: Difference between using index
and not providing a key
?
#8828
Answered
by
jacekkarczmarczyk
xsjcTony
asked this question in
Help/Questions
-
So what's the difference between the default algorithm for |
Beta Was this translation helpful? Give feedback.
Answered by
jacekkarczmarczyk
Jul 31, 2023
Replies: 1 comment 5 replies
-
this is documented see https://vuejs.org/api/built-in-special-attributes.html#key |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't see how it's better as well, @edison1105 - as i understand OP is asking about
:key="index"
vs no key (afaik they're equivalent), not:key="goodKey"
vs no key