question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning:: React.PropTypes validation

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

7reactions
artem-frolov-swancommented, Sep 5, 2016

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.

1reaction
sevikoncommented, Dec 4, 2016

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Don't Call PropTypes Warning - React
In this case, ThirdPartyPropTypes.deprecated is a wrapper calling PropTypes.bool . This pattern by itself is fine, but triggers a false positive because React...
Read more >
How to validate React props using PropTypes - LogRocket Blog
Learn how to validate props with React PropTypes, React's internal mechanism for adding type checking to component props.
Read more >
React.PropTypes validation warning · Issue #484 - GitHub
I have react@15.3.1 and react-redux@4.4.5 in my project and got the following warning: warning.js:36 Warning: You are manually calling a React.PropTypes ...
Read more >
Conditional rendering and warning when using propTypes ...
In your case it will return false when the user is not logged in, and you still expect to get a valid React...
Read more >
How to avoid React.Proptypes warning | by Sergio Zamarro
As the warning says React.Proptypes is dreprecated in React 15.5.0. Now you must use prop-types library ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found