The only advantage for using them over TypeScript or Flow that I've seen is when consuming third party React components.
Otherwise the guarantees, feedback loop and terseness of static types are superior to PropTypes.
The only advantage for using them over TypeScript or Flow that I've seen is when consuming third party React components.
Otherwise the guarantees, feedback loop and terseness of static types are superior to PropTypes.