react-mailto icon indicating copy to clipboard operation
react-mailto copied to clipboard

Warning when on React 15

Open axhamre opened this issue 7 years ago • 3 comments

I'm on React 15.5.4 and I'm getting the following error when using react-mailto:

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

axhamre avatar Jun 30 '17 12:06 axhamre

@hundsim this deprecation warning is because of the changes listed here: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

I'll try to update this soon. In the meantime this warning should not effect any functionality in your application.

jasonbellamy avatar Jun 30 '17 18:06 jasonbellamy

Upgraded my app to React 16 today (and _react.PropTypes is now gone in favor of the prop-types package). Any chance this can get fixed?

gtwilliams03 avatar Sep 26 '17 17:09 gtwilliams03

Upgraded to React 16 please

steeply avatar Nov 19 '17 11:11 steeply