[Medium] 📄 Best Practices
1. Why you shouldn't use index as a key in lists and iterators?
Por que não se deve usar
indexcomo valor dekey?
Em entrevistas sobre frameworks como Vue e React, perguntas semelhantes costumam aparecer:
- What happens if there is no key in
v-for? - Why you shouldn't use
indexas a key inReactlists and iterators?