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 Bug]: When I opened react-devtools on my terminal,can not see the component tree, #31602

Closed
huangnan20030709 opened this issue Nov 21, 2024 · 1 comment
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@huangnan20030709
Copy link

Website or app

http://localhost:5173/

Repro steps

When I opened react-devtools on my terminal,

And my project connects to localhost:8097 through "<script src="http://localhost:8097"></script>", which is the service port of react-devtools.

But I turned off the react-devtools browser extension,

The result is that although the terminal is connected to the react-devtools, but can not see the component tree,

I think it's the browser extension that injects something into the web. I don't want to use the browser extension react-devtools, Instead, view the component tree with "<script src="http://localhost:8097"></script>" and the terminal's react-devtools,

What should I do in my code

2024-11-21.10-14-22.mp4

How often does this bug happen?

Every time

DevTools package (automated)

6.0.1

DevTools version (automated)

6.0.1

Error message (automated)

can not see the component tree,

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

@huangnan20030709 huangnan20030709 added Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels Nov 21, 2024
@huangnan20030709
Copy link
Author

its ok ,Add this line of code to the first line of in your index.html

<script src="http://localhost:8097"></script>

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

1 participant