Calling PropTypes validators directly is not supported by the `prop-types` package.Use PropTypes.checkPropTypes() to call them.
First of all, you have to understand that this is just a warning, not a mistake, so you can not change it will not affect, unless you and I, like a code neat
You only have to rely on installation in the appropriate version to solve this problem, your reliance on
[email protected]^15.3.0 [email protected]^15.3.0
[Email protected]^0.14.9 [email protected]^0.14.9 This version or this version above can solve this problem, otherwise this problem cannot be solved
However, precisely with the code upgrade when React.propetypes upgrade to Proptypes process, this is often compatible, so your dependencies can be so
NPM Install
[email protected]^15.3.0 [email protected]^15.3.0 prop-types [email protected]这样就能解决这个问题
React-router 2.8.1 JS Click event Jump