Comments (4)
They warn whenever React.PropTypes
is accessed, no matter who does it. We can't tell if something is calling from your code or a library, but even if we could, if we only warned for your code you'd never know there are issues with libraries, and thus their authors wouldn't know to release updates. We encourage you to look at the stack trace in the warning and file an issue with the library in question.
from prop-types.
Yes, absolutely, it is likely coming from dependencies. Please give packages to update, it's been just a few days. You will likely stop seeing this warning in a few months or so when all packages have updated. By that time we'll likely release React 16 and you'll be ready to switch!
from prop-types.
That's very possible. Are you using any dependencies that provide React components?
from prop-types.
OK thanks :-)
I thought the warnings could only come from my own codebase, so that's why I thought there was maybe something wrong... :-)
from prop-types.
Related Issues (20)
- Latest version of prop-types is having vulenrability.Any idea that which safer version shall I switch to? HOT 2
- v15.8.0 breaks `PropTypes.shape({...})` for objects and class-instances. HOT 11
- 15.8.0: `checkPropTypes` sometimes throws: Cannot read properties of undefined (reading 'hasOwnProperty') HOT 11
- Children required prop-types fire warning on create HOT 5
- Update to @babel/preset-react7.10.1 HOT 3
- _propTypes.default.shapeOf is not a function HOT 1
- Potential isRequired bug in v15.8.0 and above HOT 10
- TypeError: Cannot destructure property 'checkPropTypes' as it is undefined. HOT 2
- error (checkPropTypes is not a function) while using with sveltekit HOT 1
- Accidental issue creation, apologies
- Failed prop type: Converting circular structure to JSON when stringifying React jsx HOT 6
- Conditional prop for value another prop HOT 2
- Error : `_propTypes2.default.oneOfType is not a function` HOT 2
- `oneOfType()` does not seem to allow all types specified HOT 2
- SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED HOT 1
- Importing a reference to PropTypes as opposed Proptypes directly HOT 4
- List transitive failures on failure of oneOfType
- The `prop-types` package import is not suddenly recognized when running jest HOT 6
- Update prop-types Version | Severity: high HOT 2
- [spam]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prop-types.