Open MatanBobi opened 6 years ago
Since React 15.5 PropTypes is no longer a part of the main package and has to be included as a different package: prop-types. When accessing PropTypes from the main package we get: TypeError: Cannot read property 'func' of undefined.
prop-types
Migration guide
I would gladly submit a PR for this one if this repo is still active.
So when updated?
Since React 15.5 PropTypes is no longer a part of the main package and has to be included as a different package:
prop-types
. When accessing PropTypes from the main package we get: TypeError: Cannot read property 'func' of undefined.Migration guide
I would gladly submit a PR for this one if this repo is still active.