Why doesn't my React components list get messed up when using Index as a key prop?

前端 未结 0 583
礼貌的吻别
礼貌的吻别 2021-02-03 14:24

I have found some information online, which is saying that you shouldn\'t use the index parameter as the key prop when using a map. For example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题