-
Notifications
You must be signed in to change notification settings - Fork 47k
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] Element "9" not found | Also "Element "10" not found" / "Element "12" not found"... #25769
Comments
I am experiencing the same bug right now |
I am experiencing the same bug now |
same problem |
5 similar comments
same problem |
same problem |
same problem |
same problem |
same problem |
@abhagsain 🤣🤣🤣🤣 |
me too, actually devTools sent me here. so they're on it 👍 |
same problem |
same🥲 |
same problem |
same :( |
same x) |
Same here... |
Same here |
1 similar comment
Same here |
It's happening to me too ;_; |
Same here. The bug happens when I try to create a list of inputs that do not respond to dom events like onClick and onChange. |
The same too! |
Same here |
1 similar comment
Same here |
From what I see (I have the errors aswell), it appears to be thrown by the strict mode of React. Edit : Spoke too soon :') Even without strict mode it triggers. |
@Arnaud-De-Baerdemaeker no strict mode in my project |
It's even happening on "npx create-react-app my-app", even if there is no strict mode. It's not really Links, Router, useEffect or any external tool. It's a general show stopping bug everywhere and the status is not even confirmed. :/ |
does anyone have any update as to if the react dev team are working on this react dev tools bug? |
@BlakeMack No clue 🙂 |
hello sirs, I have the same problem 🫤 |
2 similar comments
hello sirs, I have the same problem 🫤 |
hello sirs, I have the same problem 🫤 |
I'm looking into this |
@mondaychen |
I think it's pretty clear there is an issue, so we don't need endless "me too" posts. |
…vtools (#25832) ## Summary We see recent bug reports like #25755 and #25769 for devtools. Whenever a component uses hook `useEffect`, it triggers an error. This was introduced in #25663 when we try to keep the `ReactFiberFlags` numbers consistent with reconciler, in order to fix an issue with server components. However, the values of `ReactFiberFlags` in reconciler were actually changed a while ago in b4204ed We made this mistake because, although it's not mentioned in the comment, `DidCapture` and `Hydrating` are actually used by DevTools This caused - the latest (not stable) react version is broken on devtools before 4.27.0 (but only in uncommon cases such server components) - all earlier react versions are broken on latest devtools (4.27.0) To keep most versions work, we need to revert the commit that changed the `ReactFiberFlags` values ## How did you test this change? 1. add a `useEffect` in a component in the TodoList of the shell, trigger the error in devtools 2. after change, the error is gone
…vtools (#25832) ## Summary We see recent bug reports like #25755 and #25769 for devtools. Whenever a component uses hook `useEffect`, it triggers an error. This was introduced in #25663 when we try to keep the `ReactFiberFlags` numbers consistent with reconciler, in order to fix an issue with server components. However, the values of `ReactFiberFlags` in reconciler were actually changed a while ago in b4204ed We made this mistake because, although it's not mentioned in the comment, `DidCapture` and `Hydrating` are actually used by DevTools This caused - the latest (not stable) react version is broken on devtools before 4.27.0 (but only in uncommon cases such server components) - all earlier react versions are broken on latest devtools (4.27.0) To keep most versions work, we need to revert the commit that changed the `ReactFiberFlags` values ## How did you test this change? 1. add a `useEffect` in a component in the TodoList of the shell, trigger the error in devtools 2. after change, the error is gone DiffTrain build for `d69b2cf8208848b0f71b5214ddff55a1ff437cc8`
Sorry for the inconvenience! |
It seems to work for me with Firefox now (and I think I am using the most updated version) |
It's still not published in Chrome 😢 |
I installed the Firefox's latest devTool and the problem doesn't exist there, good job :) |
Hi, I've checked the latest versions available on Firefox and Chrome, and they both work now. Thanks guys. |
Updated the Chrome extension and now works, thank you! |
Website or app
https://github.com/arbocobra/redux-minesweeper
Repro steps
On first load I get multiple Error warnings on all app components from
<Game/>
down. They are identified with different Element numbers but appear to be directed to the same issue"The error was thrown at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:39558:15"
If you select 'Begin Game' in app the error in component
<Game />
can be dismissed but new Errors appear on all newly rendered components below (once again all have different Element numbers directed to the same location (../main.js:39558:15)//
This is issue is probably related to [DevTools Bug] Element "41" not found
Chrome is up to date (Version 108.0.5359.71 (Official Build) (x86_64)), and restarted.
I also tried reinstalling React extension (running 4.27.0).
The app is using Redux, which one commenter in other thread mentioned might be a commonality.
How often does this bug happen?
Every time
DevTools package (automated)
react-devtools-extensions
DevTools version (automated)
4.27.0-bd2ad89a4
Error message (automated)
Element "9" not found
Error call stack (automated)
Error component stack (automated)
GitHub query string (automated)
The text was updated successfully, but these errors were encountered: