-
Notifications
You must be signed in to change notification settings - Fork 47.7k
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
React dev tools not showing (blank) #16840
Comments
Having the same issues. On updating the state, an icon appears which says reset value. If you copy the object and paste it into the console you can see that the object is updating but it's just the extension that is not displaying it as normal. |
Works for me on a fresh install. (Just tested to verify.) Can you provide some more info? There isn't a lot to go on on this issue. For example, please specify:
|
I don't understand this comment. If you're having the same issue (an empty/blank DevTools) how are you updating state? (You have to see a component in the tree to update its state, no?) |
I'm experiencing this issue too. The devtool's Components tab is empty and no element can be selected. OS: Linux Mint (Virtual machine) I also tried restarting the console, restarting the browser, reinstalling the extension, restarting the virtual machine without success... It worked just before lunch, now it doesn't. Very weird... |
Any errors in the extension's background page or console? It could potentially be related to this change? cc @onionymous |
@bvaughn |
I did the same. |
Nothing in the console. 'Profiler' tab says:
|
For those of you affected by this bug, would you be interested in installing a one-off release (with the trusted types change backed out) to confirm if it fixes things for you? If so, I'll build and share one. |
@bvaughn I don't mind trying it out if you provide some guidance on how to do so. Better trying something out than having no devtool at all! We get used to those goodies! ;) |
By the way, we are having a little trouble reproducing this issue on our end using a Linux VM. Does this bug affect all React websites? Or one in particular? I'll update this issue with a link to a build shortly, David. |
I'm having the same issue, and for me, I've been experiencing this bug on all react websites. The Components tab is empty. OS: Ubuntu 18.04 |
Sure. |
yes it does. |
Does everyone have solutions?? |
Reinstalled the extension and I am still having problems. OS: MacOS Mojave 10.14.5 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This thread seems to be splitting into two separate things, which isn't helpful. So far as I can tell, @mark-quinn and @EddyHamzich seem to be describing #16843 - not what this issue is reporting. (If DevTools was "blank" for you, as the screenshots above, you wouldn't be able to select a component or see its properties.) It's confusing when issues get mixed. Let's try to keep this issue focused on the blank page thing that a few people are reporting (but that I can't repro). The cause of the other issue is known and described already on #16844. |
I still have the issue and I am wondering why I got this in the first place, some devs in the office has the same pc as mine and working properly except for me |
@aaronchua13 Do you perhaps have other extensions installed that might be interfering? Or have you set any advanced configuration options in Chrome preferences panel? |
The only other extensions I have are Redux DevTools (working) and Google Docs offline. I don't see where there could be interference. And I do experience the issue on various React websites, including official React site. Thanks for the help. |
No, I don't think that's the case. I only have few extensions and I also tried it in firefox which has no extenion at all but still have the issue. I'll upload some photos later maybe it could help. |
Here is a build of the Chrome extension that backs out the changes from #16752: Can you give this a try and let me know if it fixes the blank panel issue you're seeing? It would be helpful in narrowing down the cause of the regression, since I'm not able to reproduce it yet. cc @aaronchua13, @Abibibi |
PR facebook#16752 changed how we were injecting the backend script to be done by the content script in order to work around Trusted Type limitations with our previous approach. This may have caused a regression (see facebook#16840) so I'm backing it out to verify.
@bvaughn |
I've tested this out on my machine and everything seems to work fine. I can confirm I see the Components again in the Components tab |
Hi, can someone help me get a reliable repro? Thanks! Here are the versions (all stock installations) I used for testing in a fresh Linux VM: Ubuntu 18.04.3 LTS I'm not getting a blank Components tab. What am I missing? |
@linshunghuang works with me at Facebook. Once we revert this change, he will be working to re-add Trusted Type support- so it's important that he/we understand how to reproduce the original issue (so we avoid reintroducing it with a future change). I appreciate all of the info folks have been providing so far! 🙇 It would be super helpful if any of you are also able to help him find a way to repro the issue. |
@bvaughn I honestly don't know how to do that, but I'd be glad to help out if I can. |
This fix will be released with 4.1.1 (sometime soon) Let's keep talking and sharing info if possible to try to narrow down how to repro the issue though. |
Ok, I got a repro using Chromium 69.0.3497.0 on both Ubuntu and Mac. |
@bvaughn A newbie question here... How can I actually use the zip folder you provided? |
(Also disable the one from the store, at least temporarily.) |
It works fine now. All components are displayed in the tab. Thanks a lot |
@bvaughn - Just another quick confirmation that this fixes the problem for me. I'm using React with Electron on Windows 10. |
Thanks~ I plan to release this update today. |
Hey folks, sorry I didn't get the release made yesterday. I will get it out today. Would like to run one more build by you all first though (from PR #16900) to verify that we didn't reintroduce the problem being reported on this thread. Sorry to ask another favor on this same thread. Trying to avoid the larger inconvenience of another regression though! |
@bvaughn Could you attach stand alone version? I can try it with react native. |
This works too. |
@bvaughn Latest standalone version also has this bug with empty screen. |
Hm... that sounds unexpected. The code change that caused this regression was inside of |
@bvaughn - Yes this still works for me. |
This fix has just been published to NPM and posted to Chrome/Firefox as v4.1.1 |
I am experiencing the same problem with React Dev Tools 4.2.1 |
+1 |
Hi folks, the original bug has been closed. You're commenting in a closed issue, which is very unlikely to be read and acted upon. When you have a problem, please create a new issue with fresh information. E.g. these repro steps by @savybrandt are great, but they need to be a new issue. I'm going to lock this one. |
i was working with it a while ago but now it will only show nothing in the Components tab. I tried everything, reinstalled or even try on a different browser. I even restarted my PC.
![Screenshot from 2019-09-20 14-53-15]
The text was updated successfully, but these errors were encountered: