dillon1000/react
Commit
Browse files 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.
Changed paths3 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberComponentStack.js ModifiedM packages/react-reconciler/src/__tests__/ReactMemo-test.js ModifiedM packages/shared/ReactComponentStackFrame.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…