dillon1000/react
Commit
Browse files Deduplicate logic in ReactElementValidator
Shouldn't be much change. Notably, this calls `.getName()` instead of trying to derive it manually, which is more consistent.
Changed paths3 files
First-parent comparisonsrc/isomorphic/classic/element/ReactElementValidator.js ModifiedM src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js ModifiedM src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…