Open amalfrost opened 5 months ago
I'm getting this too, seeing the error reported only at the top of the local React devtools (Electron app) with a link to this issue. Error doesn't show in the browser console. There's nothing in the stack trace pointing at my files, only modules within react-devtools-core. I've no idea what it means but I notice chrome-extension://
in the call stack in the issue report above, which might be relevant because my app under development is a Chrome extension.
Not sure if this can help anyone, but for me this bug occurred only when there was a list of elements (with map) that happened to have two elements with same key, after removing the duplicate, the bug was gone.
@Stevengez thanks, I also have a separate bug involving duplicate keys which is probably not separate after all
Not sure if this can help anyone, but for me this bug occurred only when there was a list of elements (with map) that happened to have two elements with same key, after removing the duplicate, the bug was gone.
had the bug happen to me in the same way.
I was also getting the same error, I was using Next.js 14.2, which could be the reason I didn't get the duplicate key warning. After struggling a couple of times I discovered that error, and replaced it with the index numbers. And it solved 🥲
Website or app
https://redeemerllc.com
Repro steps
when searching the products
How often does this bug happen?
Often
DevTools package (automated)
react-devtools-extensions
DevTools version (automated)
5.0.2-47cf347e4
Error message (automated)
Children cannot be added or removed during a reorder operation.
Error call stack (automated)
Error component stack (automated)
No response
GitHub query string (automated)