[Medium] 📄 Best Practices
1. Why you shouldn't use index as a key in lists and iterators?
なぜ
indexをkeyとして使うべきではないのか?
Vue、React などのフレームワークの面接でよく出る類似の質問:
- What happens if there is no key in
v-for? - Why you shouldn't use
indexas a key inReactlists and iterators?