react报错:This synthetic event is reused for performance reasons.
文章目录
react 报错:Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property target on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-poo... for more information.
方法:
错误调用:
正确调用:

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论