dillon1000/react
Commit
Browse files Mark context consumers with PerformedWork effect on render (#12729)
* Mark new component types with PerformedWork effect * Don't do it for ForwardRef Since this has some overhead and ForwardRef is likely going to be used around context, let's skip it. We don't highlight ForwardRef alone in DevTools anyway.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberBeginWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…