dillon1000/react

Commit

[DevTools] Linkify Source View (#33954)

This makes it so you can click the source location itself to view the
source. This is similar styling as the link to jump to function props
like events and actions. We're going to need a lot more linkifying to
jump to various source locations. Also, I always was trying to click
this file anyway.

Hover state:

<img width="485" height="382" alt="Screenshot 2025-07-21 at 4 36 10 PM"
src="https://github.com/user-attachments/assets/1f0f8f8c-6866-4e62-ab84-1fb5ba012986"
/>
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-shared/src/devtools/views/Components/InspectedElementSourcePanel.css ModifiedM packages/react-devtools-shared/src/devtools/views/Components/InspectedElementSourcePanel.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…