dillon1000/react

Commit

[DevTools] Infer name from stack if it's the generic "lazy" name (#34907)

Stacked on #34906.

Infer name from stack if it's the generic "lazy" name. It might be
wrapped in an abstraction. E.g. `next/dynamic`.

Also use the function name as a description of a resolved function
value.

<img width="310" height="166" alt="Screenshot 2025-10-18 at 10 42 05 AM"
src="https://github.com/user-attachments/assets/c63170b9-2b19-4f30-be7a-6429bb3ef3d9"
/>
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-shared/src/devtools/views/useInferredName.js ModifiedM packages/shared/ReactIODescription.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…