Why is the data undefined in react component?

后端 未结 0 595
鱼传尺愫
鱼传尺愫 2021-02-06 09:13

So I\'m trying to reproduce a simple example code of react-qr-scanner, but in the code below as I try to access the text property of data object inside the handleScan, it throws

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