Skip to content
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 can't load Components tree in Components Tab #22636

Open
jstejada opened this issue Oct 27, 2021 · 10 comments
Open

DevTools can't load Components tree in Components Tab #22636

jstejada opened this issue Oct 27, 2021 · 10 comments

Comments

@jstejada
Copy link
Contributor

jstejada commented Oct 27, 2021

Summary

There's a mix of several different issues that result in the Components tree not being able to load, which happens inconsistently.

In some cases, after trying out a different build of DevTools with a potential fix, the issue seems to fully resolve itself, even after going back to using the "bad" build where the issue originally occurred. However, that doesn't mean the issue is fixed by that build, since other reports keep occurring.

This issue is a master task tracking all of the issues we've seen so far from user reports:

image


Root Cause and Fixes

@jstejada jstejada self-assigned this Oct 27, 2021
@jstejada jstejada changed the title DevTools can't load component tree DevTools can't load Components tree in Components Tab Oct 27, 2021
@dawang021
Copy link

dawang021 commented Oct 27, 2021

I seem to be having same issue, Component tree is no longer loaded recently....

image

@metalheadcode
Copy link

I seem to be having same issue, Component tree is no longer loaded recently....

image

did you manage to resolve them?

@ShaileshParmar11
Copy link

I seem to be having same issue, Component tree is no longer loaded recently....

image

have you found the fix? I am facing a similar issue.

@jstejada
Copy link
Contributor Author

We think #22638 should fix this and we're shipping a fix soon

@jstejada
Copy link
Contributor Author

#22663 is another instance of this

@jstejada
Copy link
Contributor Author

jstejada commented Nov 1, 2021

We're shipping another version v4.21.0 to the web store which we think should address this (or reduce the amount of times it triggers #21636). It should be available in chrome in a few days.

@jstejada
Copy link
Contributor Author

jstejada commented Nov 3, 2021

FYI v4.21.0 is now on Chrome Web Store which should resolve or at least reduce most occurrences of this issue (see #22577).

I will keep this issue open as a way to track all of the ways in which this issue might still occur, since #2257 was just one of the ways in which it was occurring fairly frequently.

The root cause of of #21636 is still undetermined and needs investigation

@jstejada
Copy link
Contributor Author

jstejada commented Nov 8, 2021

@aalices, when this happens to you, do you see any errors in the console? cc @bvaughn

@aalices
Copy link

aalices commented Nov 8, 2021

I can see a warning Could not find Fiber with id "6"
I just generated a basic App with CRA and added a logic that renders a new child component after few seconds and everything works fine. So looks like it works for some apps running locally

@yume-chan
Copy link

I still sometimes see Unable to find React on the page. DevTools of DevTools print this error message when this happens:

Uncaught DOMException: Blocked a frame with origin "chrome-extension://gpphkfbcpidddadnkolkpfckpihlkkil" from accessing a cross-origin frame.
    at chrome-extension://gpphkfbcpidddadnkolkpfckpihlkkil/build/main.js:54748:43
    at Object._fire (<anonymous>:1:2276)
    at Object._customDispatch (<anonymous>:1:882)
    at Object._dispatch (<anonymous>:1:2375)
    at F._onMessage (<anonymous>:1:11280)

Switching between Components and Profiler tabs multiple times sometimes mitigates this problem.

Microsoft Edge 102.0.1227.0 (Official build) dev (64-bit)
React Developer Tools : 4.24.3 (3/30/2022)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants