Skip to content

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

Closed
@bvaughn

Description

@bvaughn

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions