dillon1000/react

Commit

Use ReactDebugCurrentFrame.getStackAddendum() in element validator (#13198)

Instead of wrapping ReactDebugCurrentFrame.getStackAddendum() call into a custom wrapper inside ReactElementValidator, "teach" the main ReactDebugCurrentFrame.getStackAddendum() to take currently validating element into account.
Browse files
Changed paths2 files
First-parent comparison
M packages/react/src/ReactDebugCurrentFrame.js ModifiedM packages/react/src/ReactElementValidator.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…