Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevTools Feature Request]: show reference to component instance when profiling #32059

Closed
Eliav2 opened this issue Jan 13, 2025 · 3 comments
Closed
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@Eliav2
Copy link

Eliav2 commented Jan 13, 2025

Website or app

https://stackoverflow.com/questions/76313295/reactjs-dev-tool-hook-number-does-not-exist

Repro steps

Image

this small feature can dramatically improve the profiling experience.

this would also help identify the correct react element being rendered if case many instances of this component are being rendered.

@Eliav2 Eliav2 added Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels Jan 13, 2025
@V3RON
Copy link
Contributor

V3RON commented Jan 14, 2025

Something like this has already been implemented. You just need to switch to the Components tab. The component should be automatically selected if it's still present.

@Eliav2
Copy link
Author

Eliav2 commented Jan 15, 2025

Right. Thanks !

@Eliav2 Eliav2 closed this as completed Jan 15, 2025
@Eliav2
Copy link
Author

Eliav2 commented Jan 15, 2025

I still thinks there should be a button there to actively navigate to the component and not implicitly doing so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants