dillon1000/react

Commit

[DevTools] Fix React Compiler badging (#31196)

In #31140 we switched over the uMC polyfill to use memo instead of state
since memo would FastRefresh properly. However this busted devtools'
badging of compiled components; this PR fixes it.

TODO: tests
Co-authored-by: Ruslan Lesiutin <[email protected]>

---------

Co-authored-by: Ruslan Lesiutin <[email protected]>
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-shared/src/backend/fiber/renderer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…