ReactJs: Child key prop without index

前端 未结 0 343
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 01:42

Hello I tried to use the index as key in my components, but I ended up getting error from eslint and in the own doc of reactjs they recommend using the index in last option

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