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 function for the `undefined` prop on `<<anonymous>>`

See original GitHub issue

I get the following warning everytime I start my app:

Warning: You are manually calling a React.PropTypes validation function 
for the `undefined` prop on `<<anonymous>>`. 
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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wafishercommented, Oct 26, 2016
1reaction
fab1ancommented, Oct 26, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Don't Call PropTypes Warning - React
Don't call PropTypes directly​​ Using PropTypes in any other way than annotating React components with them is no longer supported: var apiShape =...
Read more >
React How to fix Failed prop type - Invalid prop of type string ...
You are passing string as an error instead of object in the props for the Login component. Try console.log of "errors" in the...
Read more >
How to Pass React Props Safely with Prop Type Validation
You can validate that it is a string, number, object, function, etc. The full details are located at https://reactjs.org/docs/typechecking-with-proptypes.html.
Read more >
Validate Component Input with Prop Types in React
React gives us a mechanism called PropTypes to ensure that the property values passed into components are of the correct type. By ensuring...
Read more >
typescript-cheatsheet - GitHub Pages
Implementing an interface to a function ... Setting up general React prop types ... In TypeScript, both undefined and null actually have their...
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