React forloop index remains the same value (0)

后端 未结 0 1299
执笔经年
执笔经年 2021-01-28 12:43

I am trying to render this reactstrap CustomInput in a loop. Everything renders correctly, however, the console.log(index) always prints out 0. I\'m not sure why?

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