-
Notifications
You must be signed in to change notification settings - Fork 49k
Closed
Closed
Copy link
Labels
Component: Developer ToolsStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug
Description
Website or app
Please checkout the linked branch not main
https://github.com/eps1lon/react-devtools-repro-no-matching-node/tree/repro/elements-leaking
Repro steps and screen recording included in the repro
Repro steps
- Clone repro
- yarn
- yarn start
- Open app page
- open devtools
- Uncomment the
useEffect
block i.e. add an effect - inspect
Component
element - comment
useEffect
block i.e. remove the effect - Repeat comment/uncomment to see that children grow indefinitely
How often does this bug happen?
Every time
DevTools package (automated)
No response
DevTools version (automated)
No response
Error message (automated)
Could not inspect element with id 4
Error call stack (automated)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response
Might be a duplicate of #21436 (comment) since the repro steps are the same. But depending on what the effect is doing, the behavior is different.
Metadata
Metadata
Assignees
Labels
Component: Developer ToolsStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug