dillon1000/react
Commit
Browse files Use prop-types instead of prop-types factory (#9526)
Latest versions of prop-types don't depend on React, so the factory is not necessary, and in fact bloats the build because it is intended for 15.5 and so doesn't strip out the checkers in prod.
Changed paths5 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM scripts/rollup/bundles.js ModifiedM scripts/rollup/modules.js ModifiedM src/isomorphic/classic/types/ReactPropTypes.js ModifiedM src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…