Skip to content

v-for: Difference between using index and not providing a key? #8828

Discussion options

You must be logged in to vote

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

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@xsjcTony
Comment options

@edison1105
Comment options

@xsjcTony
Comment options

@jacekkarczmarczyk
Comment options

Answer selected by edison1105
@edison1105
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants