JedWatson / react-hammerjs

ReactJS / HammerJS integration. Support touch events in your React app.
MIT License
937 stars 128 forks source link

createClass is deprecated in React 15.5 #66

Closed suchipi closed 6 years ago

suchipi commented 7 years ago

As of React 15.5, createClass is deprecated, so using this library prints the following in the console:

Warning: Hammer: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Hammer should either switch to using create-react-class or use plain JavaScript classes.

afc163 commented 7 years ago

ping~

JedWatson commented 7 years ago

Hopefully this will be addressed by my suggested changes to #67

ebhoren commented 7 years ago

+1

raulrene commented 7 years ago

+Number.MAX_SAFE_INTEGER

renatorib commented 7 years ago

+1

pedronauck commented 7 years ago

+1

bekhzod91 commented 7 years ago

+1

renatorib commented 7 years ago

+2

jrsinclair commented 6 years ago

This just became slightly more pressing, now that React 16 has been released.

JedWatson commented 6 years ago

Fixed as of 1.0.1