prop-types
https://github.com/facebook/prop-types
JavaScript
Runtime type checking for React props and similar objects
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported1 Subscribers
Add a CodeTriage badge to prop-types
Help out
- Issues
- feat: checkPropTypes returns a boolean for propTypes validation
- error (checkPropTypes is not a function) while using with sveltekit
- Potential isRequired bug in v15.8.0 and above
- Allow react-is ^17 as dependency
- Document best practice for using self-referencing PropTypes
- Is there a way to get the list of warnings as an object?
- .set and .setOf
- Discussion: propTypes.string.isNotEmpty
- Question: should typed arrays be supported?
- Improve PropType warning and mention received prop type
- Docs
- JavaScript not yet supported