dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/isomorphic/classic/element/ReactElement.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…