react-router icon indicating copy to clipboard operation
react-router copied to clipboard

Calling PropTypes validators directly is not supported

Open horacioriv opened this issue 9 years ago • 2 comments

Hi,

The new version of react router redux "^5.0.0-alpha.6" have problems, is showing me this message:

Failed context type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them

Im using a full typescript project whit out webpack It is possible to avoid type checking?

regards!

horacioriv avatar Jun 07 '17 22:06 horacioriv

Compiling the re react router package solves the problem. The umd version of react router repository seems to be outdated 🤔

horacioriv avatar Jun 08 '17 02:06 horacioriv

Yes, we need to rebuild with the latest prop-types version. This was fixed on their end. Dupe of #5173

timdorr avatar Jun 08 '17 03:06 timdorr