dillon1000/react

Commit

[PropTypes] Make invalid proptype warning clearer

Addresses comments on #3383, making the invalid proptype specification
warning clearer and making the tests for it a bit clearer.
Browse files
Changed paths2 files
First-parent comparison
M src/classic/element/ReactElementValidator.js ModifiedM src/classic/element/__tests__/ReactElementValidator-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…