facebook/prop-types: Runtime type checking for React props and similar objects

4212
STARS
55
WATCHERS
374
FORKS
55
ISSUES

prop-types Recent Issues

Issue Title State Comments Created Date Updated Date
Error : `_propTypes2.default.oneOfType is not a function` open 0 2022-09-28 2022-09-29
Conditional prop for value another prop closed 2 2022-09-12 2022-09-29
Failed prop type: Converting circular structure to JSON when stringifying React jsx open 6 2022-07-05 2022-09-29
error (checkPropTypes is not a function) while using with sveltekit open 1 2022-04-04 2022-09-29
TypeError: Cannot destructure property 'checkPropTypes' as it is undefined. closed 2 2022-03-17 2022-09-29
Potential isRequired bug in v15.8.0 and above open 4 2022-03-11 2022-09-29
_propTypes.default.shapeOf is not a function closed 1 2022-02-03 2022-09-29
Update to @babel/preset-react7.10.1 closed 3 2022-01-26 2022-09-29
Children required prop-types fire warning on create closed 5 2022-01-13 2022-09-29
15.8.0: `checkPropTypes` sometimes throws: Cannot read properties of undefined (reading 'hasOwnProperty') closed 11 2022-01-04 2022-09-29
v15.8.0 breaks `PropTypes.shape({...})` for objects and class-instances. closed 11 2021-12-28 2022-09-29
Latest version of prop-types is having vulenrability.Any idea that which safer version shall I switch to? closed 2 2021-11-16 2022-09-29
`.elementType` incompatible with `React.ElementType` closed 5 2021-11-13 2022-09-29
Use of Hard-coded Password closed 6 2021-08-24 2022-10-07
Support JavaScript standard type ‘BigInt’ closed 10 2021-07-20 2022-09-29
Allow react-is ^17 as dependency open 21 2021-07-12 2022-09-29
Is there a way to infer props from a component? closed 1 2021-06-18 2022-09-29
TypeError: undefined is not an object (evaluating '_reactNative.TextPropTypes.style') closed 6 2021-06-16 2022-09-29
Getting error "undefined is not an object (evaluating '_react.PropTypes.array')" closed 2 2021-06-08 2022-09-29
Errror prop type `style` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined` closed 1 2021-05-15 2022-09-29
Is this the correct way to define an array proptype of 2 moment instances? closed 3 2021-04-26 2022-09-29
Document defaultProps in README closed 5 2021-04-13 2022-09-29
Check Proptypes for a component closed 1 2021-03-31 2022-09-29
Add ability to override `isRequired` closed 6 2021-03-17 2022-09-29
'bool' should read 'boolean' closed 3 2021-03-04 2022-09-29
Clarify Usage of elementType closed 3 2021-02-09 2022-09-29
checkPropTypes breaks error stack Source Mapping in Chrome open 3 2020-09-26 2022-09-29
Remove `process` shim closed 3 2020-08-04 2022-09-29
Condition is always false since types <optionalShape> and 'null' have no overlap closed 2 2019-07-26 2022-09-29
Please expose PropTypeError closed 6 2019-04-18 2022-09-29
Typo in static class property declaration react/no-typos closed 19 2019-03-18 2022-10-07
PropTypes.exact for all props has errors open 13 2019-03-01 2022-09-29
Add notice to the README to let people know PropTypes are no longer the recommended prop validation method closed 11 2019-01-09 2022-10-01
Mixed arrayOf prop type closed 9 2018-11-26 2022-09-29
Production build each propType is same instance of shim closed 5 2018-10-23 2022-09-29
Proptype for Context.Provider closed 4 2018-09-28 2022-09-29
Trouble remembering that 'func' and 'bool' have a shorter name closed 2 2018-05-29 2022-09-30
Return value from checkPropTypes? open 6 2018-03-01 2022-10-06
React Portals can't be validated with prop-types open 4 2018-03-01 2022-09-29
TextInput: prop type `style` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`. closed 14 2018-02-22 2022-09-29
isDeprecated type in PropTypes closed 6 2018-01-20 2022-09-29
Supporting ESM closed 24 2017-09-19 2022-01-16
null props considered differently in getDefaultProps vs. isRequired open 5 2017-09-19 2022-09-29
Whether it is necessary to add or / and / not ? closed 4 2017-08-31 2022-09-29
Produce not warning but validation report closed 1 2017-07-12 2022-09-27
Intersection types open 1 2017-05-27 2022-01-23
Why react should be declared as peerDependencies and prop-type as dependency ? closed 5 2017-05-03 2022-10-06
Add ability to throw error instead of warning in tests open 25 2017-04-13 2022-10-06
Rename PropTypes.func to Proptypes.function and deprecate PropTypes.func open 3 2017-04-09 2022-10-02
Warn for PropTypes that don't exist but do exist with a different case closed 4 2017-04-09 2022-09-29

facebook's Other Repos