Dynamic variable name using this in ReactJS

后端 未结 0 1307
时光说笑
时光说笑 2020-12-03 15:29

I want to create multiple refs for 40 divs without using React.createRef(). But I\'m unable to create dynamic variable name for my ref. I\'m using below code to

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