JakeSidSmith / react-fastclick

Fast Touch Events for React
https://www.npmjs.com/package/react-fastclick
MIT License
487 stars 41 forks source link

React 0.15 - warning when modifying synthetic events #28

Closed liu-dongyu closed 8 years ago

liu-dongyu commented 8 years ago

When i click a element by onClick event, i got a waning like

warning.js?0260:44 Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information.

What is that mean and how to solve it?

JakeSidSmith commented 8 years ago

Yes, sorry about that. This issue was raised in #27, but not directly related. I'll be looking into this at some point in the next couple of days. :)

zxx-abc commented 8 years ago

Still facing this problem when using react-router's '' tag... react v15.0.0 react-router v2.0.0 react-fastclick v2.0.0