"Warning: ... React.PropTypes validation function for the `undefined` prop on `<<anonymous>>`
See original GitHub issueI 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:
- Created 7 years ago
- Comments:12 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Take a look at https://github.com/mapbox/react-native-mapbox-gl/pull/447.
@wafisher That is from http://lograbbit.com/