Why does onClick prop return undefined on first click?

后端 未结 0 1036
悲哀的现实
悲哀的现实 2021-02-06 08:04

As in object, I\'m writing a React app, but cannot figure out why when I click on the card, the first click returns undefined, and then the next click returns the element I clic

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