dillon1000/react

Commit

Add component stack to invalid element type warning (#8495)

* Show Source Error Addemden if __source available

* Add Parent Stack on invalid element type

* refactor to use normalizeCodeLocInfo

* Remove ( ) from addendum
Browse files
Changed paths3 files
First-parent comparison
M src/isomorphic/classic/element/ReactElementValidator.js ModifiedM src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js ModifiedM src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…