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]: Fast Refresh + DevTools breaks component inspection #21528

Closed
bvaughn opened this issue May 19, 2021 · 3 comments · Fixed by #21536
Closed

[DevTools Bug]: Fast Refresh + DevTools breaks component inspection #21528

bvaughn opened this issue May 19, 2021 · 3 comments · Fixed by #21536
Assignees
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@bvaughn
Copy link
Contributor

bvaughn commented May 19, 2021

Website or app

https://github.com/eps1lon/react-devtools-repro-no-matching-node/

Repro steps

  1. yarn start
  2. Open App.js
  3. Uncomment the useEffect block
  4. Click to inspect "Component" in DevTools
  5. Error: "Could not inspect element with id 5"

Originally reported in #21436 (comment)


react-devtools-repro-no-matching-node.mp4

How often does this bug happen?

Every time

@bvaughn bvaughn added Type: Bug Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Component: Developer Tools labels May 19, 2021
@bvaughn bvaughn changed the title [DevTools Bug]: [DevTools Bug]: Fast Refresh + DevTools breaks component inspection after editing May 19, 2021
@bvaughn bvaughn changed the title [DevTools Bug]: Fast Refresh + DevTools breaks component inspection after editing [DevTools Bug]: Fast Refresh + DevTools breaks component inspection May 19, 2021
@bvaughn bvaughn self-assigned this May 19, 2021
@bvaughn
Copy link
Contributor Author

bvaughn commented May 20, 2021

@eps1lon Here's another Chrome extension build with the fix from #21536:
ReactDevTools.zip

@eps1lon
Copy link
Collaborator

eps1lon commented May 20, 2021

@eps1lon Here's another Chrome extension build with the fix from #21536:
ReactDevTools.zip

Everything fixed. Awesome 👍

@bvaughn
Copy link
Contributor Author

bvaughn commented May 20, 2021

FYI @eps1lon just published as 4.13.4

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
2 participants