TypeError: checker is not a function at validate
See original GitHub issuesomehow a weird warning is printed to the console when i have this property
propTypes:
links: React.PropTypes.oneOfType(
React.PropTypes.object
React.PropTypes.arrayOf(React.PropTypes.object)
)
the checkPropTypes()
produces
error = TypeError: checker is not a function at validate
at
error = propTypes[propName](props, propName, componentName, location);
and this will print this warning in the console
Warning: Failed propType: checker is not a function Check the render method of `xxx`.
looks like a bug to me … using React v0.13.3 here
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
React: checker is not a function - Stack Overflow
Show activity on this post. I'm getting this weird warning message in the console for my React app. Warning: Failed propType: checker is...
Read more >Uncaught TypeError: $(...).validate is not a function - W3schools
Uncaught TypeError: $(…).validate is not a function. javascript validate is not a function problem. Functions that arent need to load at the beggining...
Read more >How to resolve the TypeError n(…).valid is not a function | jQuery
“TypeError: n(…).valid is not a function” script error is raised, if the jQuery validation script is not referred in your application. The JQuery...
Read more >$(...).validate is not a function. Client side validation - MSDN
Getting this error trying to use client side validation. This doesn't do any validation. I did an inspect on the page and get...
Read more >'X' is not a function TypeError in React [Solved] | bobbyhadz
The React.js Uncaught TypeError: X is not a function occurs when we try to call a value that is not a function as...
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 Free
Top 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
just for future reference you can also get this error if a PropType is left incomplete ie.
country: PropTypes
Closing as not a common issue, and caused by wrong usage. If it comes up often, feel free to send a PR that adds better warnings.