dillon1000/react

Commit

Fix to sample code for href in ReactPropTypes

Error should be thrown in the previous condition is "not" meet. And the href propType is described as optional in the comment, but the null check was missing.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactPropTypes.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…