dillon1000/react
Commit
Browse files Ignore specifically React warning getter in ReactElement
We don’t want to have different behavior in development and production. Previously, we used to ignore getters on key/ref in dev, but we’d read them in prod. Now, we only ignore the getters that we *know* we created so the production logic doesn’t differ.
Changed paths3 files
First-parent comparisonsrc/isomorphic/classic/element/ReactElement.js ModifiedM src/isomorphic/classic/element/__tests__/ReactElement-test.js ModifiedM src/isomorphic/classic/element/__tests__/ReactElementClone-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…