[Medium] 📄 Best Practices
1. Why you shouldn't use index as a key in lists and iterators?
¿Por qué no se debe usar
indexcomo valor dekey?
En entrevistas sobre frameworks como Vue y React, suelen aparecer preguntas similares:
- What happens if there is no key in
v-for? - Why you shouldn't use
indexas a key inReactlists and iterators?