dillon1000/react

Commit

Exclude forwardRef and memo from stack frames (#18559)

We can't patch the row. We could give these their own "built-in" stack
frame since they're conceptually HoCs. However, from a debugging
perspective this is not very useful meta data and quite noisy. So I'm
just going to exclude them.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberComponentStack.js ModifiedM packages/react-reconciler/src/__tests__/ReactMemo-test.js ModifiedM packages/shared/ReactComponentStackFrame.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…