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
- Upgrading `defaultProps` to use JavaScript default parameters shows isRequired errors
- Can't pass server component to PropTypes.node
- Failed prop type: Converting circular structure to JSON when stringifying React jsx
- Potential isRequired bug in v15.8.0 and above
- Allow react-is ^17 as dependency
- .set and .setOf
- checkPropTypes breaks error stack Source Mapping in Chrome
- React Portals can't be validated with prop-types
- README: clarify what "optional" means
- Return value from checkPropTypes?
- Docs
- JavaScript not yet supported