dillon1000/react
Commit
Browse files Improve readability of isValidElementType (#19251)
* improve readability * replace condition by switch/case * replace condition by switch/case * remove unnecessary braces * replace switch/case to ifs * replace switch/case to ifs * fix by multiline if statements * fix multiple if statements
Changed paths1 file
First-parent comparisonpackages/shared/isValidElementType.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…