-
Notifications
You must be signed in to change notification settings - Fork 47.6k
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]: Components + Profile tabs not showing up in Chrome 99 #24094
Comments
Seems like I'm not the only one: https://www.reddit.com/r/reactjs/comments/ta820t/react_devtools_extension_not_working_on_my/ |
Admittedly, it could be on chrome; the error + warning icons are black for some reason. However, the tabs are showing up on https://reactjs.org/, so I'm not sure why it's not showing up on every other site I go on. |
I'm facing exactly the same problem but with all my extensions not only with this one. |
I'm also having this issue, and the same issue with the Redux Dev tools. Doesn't happen on every React site. I'm on an M1 Macbook, and assumed that the issue was specific to ARM64 Chrome since some other coworkers had the same issue, but only those with an M1. But I see other people have the same issue on x86, so who knows. |
Hey! Thanks for reporting. This sounds less like a DevTools issue and more like a Chrome issue, especially since all extensions seem to be experiencing this. You can report issues with Chrome here. Closing this issue! |
saga continues: ...which feels silly, because all of my extensions seem to load on that page. |
Ok. Somehow I got them working again (although I don't have the most reliable procedure for reproducing). I turned off two flags in the devtool experiments section:
I also thought that doing a refresh of devtools could have worked, but it didn't appear to be consistent. I think turning off the first flag is probably the only thing, but I'm not 100%. |
+1, and turned off these two flags did not worked for me. |
For those following this ticket, it has has been marked as duplicate and merged into this one: |
There still doesn't seem to be any movement on that Chrome bug, and I'm not able to provide a reproducible example to push it forward any more, but if folks are looking for a workaround:
If you try loading the devtools after you've already navigated to the React site, the tabs won't show up. I'm not familiar enough with writing extensions to know how this all works, but I was able to determine that, in the failing case, the listener in background.js for I'm not sure what triggers that connection, but it doesn't happen unless you load the devtools before navigating to the React site. It sounds like we've determined that it's an issue with Chrome, and not React, but hopefully this comment helps unblock someone else until the Chrome bug can be fixed. EDIT 04/26/22: Sounds like the fix is planned to go into Chrome v102 |
Very late to this but was still getting the bug. Had to toggle a random flag and refresh devtools which seems to be a fix. |
Can you share which flag it was that had to be toggled? |
there is a button "Restore defaults and reload", it helped me |
In my case, devtools - application - service workers - update on refresh was the reason. When it checked, react panels are not shown. |
Yeah, same in my case. Fixed it. |
Same with me. Fixed after unchecking |
import react from '@vitejs/plugin-react'; // Import the Vite React plugin export default defineConfig({ @@***Use this in your vite.config.js everything wil work |
My issue Solved: Press F12 to open your console, click the gear/cog icon to open the console settings, then in the bottom right there's a button that says "Restore defaults and reload". This should bring the console tabs back if they're missing. |
Website or app
https://codesandbox.io/s/new
Repro steps
Computer:
2019 MacBook Pro (Intel)
Browser:
Google Chrome
Version 99.0.4844.51 (Official Build) (x86_64)
DevTools:
4.24.0 (3/10/2022)
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)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response
The text was updated successfully, but these errors were encountered: