Why is this onClick event handler firing twice in my create-react-app

前端 未结 0 1772
悲&欢浪女
悲&欢浪女 2020-12-08 04:02

can someone tell me why is this "upvote" onClick handler firing twice? the logs would indicate it\'s only running once but the score it controls increases by 2

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