facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
229.08k stars 46.86k forks source link

Add devtools "Inspect React component" to right-click menu #18822

Open sophiebits opened 4 years ago

sophiebits commented 4 years ago

Noticed today that Vue's devtools have an awesome "Inspect Vue component" option when right-clicking on a webpage (added in https://github.com/vuejs/vue-devtools/pull/479).

The React devtools should have the same feature! It would be useful when debugging for sure.

ChrisDobby commented 4 years ago

I'd like to have a go at this if its OK?

ghost commented 4 years ago

@sophiebits please review. https://github.com/facebook/react/pull/18939

stale[bot] commented 4 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] commented 4 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

locofocos commented 3 years ago

I see the PR is almost done! Would love to see this feature. I came here searching to see if this feature existed. I appreciate the work everyone has put in on this so far.