PropType warnings with React 15.5
See original GitHub issue4.1.1 Router component shows the following warnings with React 15.5.4:
Warning: Failed prop type: Calling PropTypes validators directly is not supported by the 'prop-types' package. Use PropTypes.checkPropTypes() to call them.
Warning: Failed context type: Calling PropTypes validators directly is not supported by the 'prop-types' package. Use PropTypes.checkPropTypes() to call them.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:13 (6 by maintainers)
Top Results From Across the Web
How to fix React 15.5.3 PropTypes deprecated warning when ...
At latest React 15.5.3 package, it appears following warnings: Warning: Accessing PropTypes via the main React package is deprecated. Use the ...
Read more >PropTypes deprecated warnings with React 15.5.0 #75 - GitHub
Hi, any plan to fix the warning with React 15.5.0: Warning: Accessing PropTypes via the main React package is deprecated.
Read more >Typechecking With PropTypes - React
In this example, we're using PropTypes.string . When an invalid value is provided for a prop, a warning will be shown in the...
Read more >How to Use PropTypes in React - freeCodeCamp
Before the release of React 15.5.0, PropTypes were available in the React package, but now we have to add the prop-types library in...
Read more >Comparing TypeScript and PropTypes in React applications
Since React 15.5, the PropTypes utility is available through the prop-types ... Note that PropTypes does not provide warnings in production ...
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

Finally found some time for this. Re-published react-router and react-router-dom as 4.1.2. No changes other than updated bundled deps.
I need to rebuild the UMD release. The version of
prop-typeswas broken for UMD builds when I pushed out 4.1.1. It’s literally just a rebuild and push, no changes needed.