dillon1000/react

Commit

[Fiber] Override the getCurrentStack temporarily while printing errors (#30300)

Only for parent stacks. This ensures that we can use the regular
mechanism for appending stack traces. E.g. you can polyfill it.

This is mainly so that I can later remove the automatic appending.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberErrorLogger.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…