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

Warning:: React.PropTypes validation

Open aristide opened this issue 9 years ago • 6 comments

Hi !! i'm having this warning on webbrower dev console

"Warning: You are manually calling a React.PropTypes validation function for the color prop on SparklinesLine. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." bundle.js:38532:10

aristide avatar Aug 11 '16 15:08 aristide

Same here, only started learning React. Interested on how it can be resolved in my code. Not quite sure how to use https://fb.me/react-warning-dont-call-proptypes help.

artem-frolov-swan avatar Sep 05 '16 15:09 artem-frolov-swan

Same Here

vignestion avatar Sep 12 '16 21:09 vignestion

Same here

helloworley avatar Nov 18 '16 06:11 helloworley

Probably you use some old version of react. If you update your npm packages everything works fine.

sevikon avatar Dec 04 '16 00:12 sevikon

Same here! =/

zarathon avatar Jan 31 '17 13:01 zarathon

In react 15.5 it is already deprecated: "Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead."

mlzsolti avatar Apr 21 '17 10:04 mlzsolti