Use developit/proptypes for the entire set of PropTypes?
sompylasar opened this issue ยท 3 comments
sompylasar commented
The https://github.com/developit/proptypes module provides the entire set of PropTypes
, so instead of defining a subset, why not use the entire set to make it a truly drop-in replacement?
sompylasar commented
This becomes of a high importancy for teams who use PropTypes validation in production because of https://fb.me/react-warning-dont-call-proptypes -- the article even links to these two repos.
zhuangya commented
@sompylasar maybe we should notice fb team to update the link :/
aackerman commented
I'm going to go ahead and close this, the react team has taken over the releases of prop-types
on npm.