-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Bug: Cannot read property 'isCollapsed' of undefined/Some Components Missing in DevTools/Blank tab #19332
Comments
Can you share a repro (e.g. the project you're trying to use that causes React DevTools to error)? I haven't seen this behavior before, or heard reports of it. |
I can't share the repo as its my work repo. There was an error like this in the past but it was archived because the poster did not provide steps to reproduce |
I'll see if this happens with another react project in case its a versioning thing with my dev tools |
Hm. Yeah it's hard for us to do much without a repro. Could you try creating a reduced case by removing things from your local app until you've gotten it as small as you can (while still seeing the error) and then sharing that small repro with us via Code Sandbox or something? The cause is often just a small thing. May also be nice to find out the version of DevTools you've got installed and which browser/version you're using. |
Unfortunately, it does seem unique to my work repo so I am not sure what has happened. I'll check to see if I have installed any new dependencies. That screenshot is the extent of my error message |
Will do @bvaughn I am being pulled away for a moment but I will do my best to give you something more to work with within the next couple of hours |
Thanks so much! |
I am still investigating but I am providing the following information in the meantime, I hope this helps Browser: Chrome Browser version: Version 83.0.4103.116 (Official Build) (64-bit) React Dev Tools Version |
Gotcha. Nothing too helpful there unfortunately. Same versions as me. |
@abrown945 For what it's worth, if your work repo is a publicly available product, and the issue reproduces in production, just seeing that page would be helpful too. Not necessarily the source code. |
@gaearon I'll check to see if it happens in production. Its not public unfortunately but that will help narrow down the issue I'll also check to see if this happens in other branches |
@bvaughn and @gaearon I cannot reproduce the issue now and it seems to have resolved itself. I couldn't test earlier due to server maintenance of the site. Thank you for helping me even with the limited perspective I could give. I appreciate your responsiveness and swiftness to aid me regardless of the difficulty on you two! Have a great day! |
Are you using Suspense? I'm encountering a problem, where all remaining components below Suspense don't show up in the Flamegraph. However, I'm not sure if this is related to Suspense. |
@unzico FWIW there is a known issue or two with Suspense in the latest release that I'm working to fix. We'll publish an update shortly. Sorry! |
I suspect that #19368 may fix the issues reported here as well. |
@bvaughn forgive me if I am misunderstanding but it looks like you linked to a pull request that will resolve the issue. Am I to read this as, when this PR is approved the devtools error will be resolved with an update to my React app? |
I think the next DevTools release (sometime today) should resolve your issue without any updates or changes to your app. |
Should be fixed by #19373 New release will go out shortly |
Version 4.8.2 has just been published to NPM and submitted to Chrome/Edge/Firefox stores with a fix for this issue. Browsers sometimes take a few hours to approve a new extension version, but once the new version goes live this should be resolved. Sorry for the inconvenience. |
Thank you for the update and I appreciate the help!
…On Wed, Jul 15, 2020 at 1:10 PM Brian Vaughn ***@***.***> wrote:
Version 4.8.2 has just been published to NPM and submitted to
Chrome/Edge/Firefox stores with a fix for this issue.
Browsers sometimes take a few hours to approve a new extension version,
but once the new version goes live this should be resolved. Sorry for the
inconvenience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19332 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFQ6HKJLIIWOELJCROPJP3LR3XPJXANCNFSM4OYRUQKA>
.
|
I cannot view all of my components in the Components tab. Sometimes none. It has been occurring all morning and I do not know how to rectify this.
I cannot search for the components by name either. It is not there.
When I was attempting to highlight a component to see its props value, I got the below message after clicking on it to see if that would help as nothing was showing.
React version:
Steps To Reproduce
Same steps for a blank Component tab. Unfortunately, restarting the app does not seem to rectify the issue either. Seems to be an error with the extension itself but I thought I'd try here first.
The text was updated successfully, but these errors were encountered: