React onClick not propagating event

前端 未结 0 1097
盖世英雄少女心
盖世英雄少女心 2021-01-12 15:21

I created a new reactjs project, somehow onClick={() => console.log(\'clicked...\')} does not propagate an event, even though the component is rendered on th

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