[Medium] 📄 Best Practices
1. Why you shouldn't use index as a key in lists and iterators?
Warum sollte man
indexnicht alskeyverwenden?
In Vorstellungsgesprächen zu Frameworks wie Vue und React tauchen häufig ähnliche Fragen auf:
- What happens if there is no key in
v-for? - Why you shouldn't use
indexas a key inReactlists and iterators?