JedWatson / react-tappable

Tappable component for React
http://jedwatson.github.io/react-tappable/
MIT License
862 stars 90 forks source link

Warning from using deprecated react code #107

Closed mark-sun closed 7 years ago

mark-sun commented 7 years ago

Hi, I got these two warning from using Tappable. Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead. Warning: Tappable: 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. Not sure if this is already tracked. Just a reminder. Thank you.

dcousens commented 7 years ago

Hi @mark-sun,

This has already been fixed and merged in https://github.com/JedWatson/react-tappable/pull/101

Please help to get this published by +1 the following issue: https://github.com/JedWatson/react-tappable/issues/103