Skip to content

[DevTools Bug]: Unnecessary Re-render Highlight on Sibling Component in React DevTools #33555

Open
@yuki2006

Description

@yuki2006

Website or app

https://codesandbox.io/p/sandbox/agitated-monad-h4ykn2?file=%2Fsrc%2FApp.js%3A12%2C13

Repro steps

  • Open the provided CodeSandbox
  • Click the "Open in new Tab" button in the sandbox preview.
  • Open the React DevTools panel.
  • In the DevTools settings, enable "Highlight updates when components render".
  • Observe that the Test button(B) is highlighted every time the timer value changes.

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)


Error component stack (automated)


GitHub query string (automated)


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions