loktar00 / react-lazy-load

React component that renders children elements when they enter the viewport.
MIT License
978 stars 166 forks source link

Calling PropTypes validators directly is not supported by the `prop-types` #114

Closed FedericoCapaldo closed 2 years ago

FedericoCapaldo commented 6 years ago

Warning: Failed propType: Calling PropTypes validators directly is not supported by the 'prop-types' package

I believe this issue has already been resolved by @gaearon for the prop-types module in the version 15.5.10. See same problem here

If I am not mistaken, that the error in my app is given by the previous version referenced in your repo. is it possible to update it like so please?

loktar00 commented 2 years ago

Upgrading the library to TS, and this issue is crazy old so not relevant anyway regardless I guess.