dillon1000/react

Commit

Short-circuit the check just for getters

This way in other cases both DEV and PROD falls through to the check for undefined.
This fixes #6879 and a similar bug introduced for cloneElement() in 94d0dc68c89c0292cd430976a7dafb95f8d13cf4.
Browse files
Changed paths1 file
First-parent comparison
M src/isomorphic/classic/element/ReactElement.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…