dillon1000/react

Commit

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.
Browse files
Changed paths5 files
First-parent comparison
M scripts/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…