Open tetsuharuohzeki opened 5 years ago
I also have this same issue. Worked before the update.
I'll take a look at this one. π
I'll try and provide you with an update by the end of the week.
I'm also having this issue on Firefox Developer Edition.
FireFox - v70.0b9 (64-bit) react devtools - v4.1.0
Hey everyone. Just reproduced the issue and tried to fix it.
It seems more complex than I initially thought.
For some reason when we create the panels via devtools.panels.create
and we attach the onShown
event we receive a completely different window
object (called panel in this case).
When using the DevTools normally we get the full window object and it's properties, but when in private mode it seems like a stripped down version of it.
I tried digging through both the chromium/MDN docs but I can't find anything related.
Also, I tweaked my Firefox configuration without success.
Does anyone have any ideas to why this might happen?
Thanks @saneyuki for the detailed description and repro steps!
This is still an issue for me. Any movement on it?
It used to work just fine. But I don't remember what version that was.
Still experiencing this. Any updates? I need to use private mode when testing. Firefox v73.0 (64bit) React Developer Tools 4.4.0
解ε³δΊε
I've just encountered this issue as well with React Developer Tools 4.7.0 and Firefox 77.0.1. Are there any plans of solving it?
I'm also encountering this. React Developer Tools can find react on https://reactjs.org/ normally, but not in private mode.
FireFox: 76.0.1 React Developer Tools: 4.7.0
@hristo-kanchev any update on this? Very annoying when you do all your web work with Firefox and use private windows.
Same issue here; i like to use private windows to test my apps with all browser extensions disabled and DevTools do not work (the extension is allowed to run in private windows) Firefox: 79.0 React Developer Tools: 4.8.2
Issue exists on Firefox Developer Edition 81.0b3, React devtools 4.8.2. I do almost all my dev work in private windows, this makes the tool less than useful.
I hate to be that guy, but the Vue devtools don't have this problem.
Are there any fundamental differences in how React and Vue become available to devtool extensions? Or is it just that the Vue devtools grabs the app instances from the page differently?
(Firefox Nightly 83.0a1 2020-10-12, React devtools 4.8.2 revision fed4ae024)
Still the React devtools v4.10.1 on firefox developer edition v86.0b7 is not working in private mode and showing the same message Unable to find React on the page
Still here in Firefox Developer Edition 89.0b7 (Mac OS).
In case it's not clear, no one is working on this issue. That's why it's still open and that's why the behavior hasn't changed.
If you would like to work on it, please leave a comment. I would welcome the help. π
The React DevTools are maintained by me (bug fixes and new features) as a part time effort and it's a lot of work to juggle. While I appreciate that this issue is probably irritating, I have to weigh it against a lot of other issues and it hasn't been a top priority yet. (And unfortunately it likely won't be in the near future.)
This issue is affecting my work on some performance issues for a client. I'm gonna start taking a look, but I've never built a browser extension before. If anyone has any tips, let me know! π
Here is a high level overview of the architecture: https://github.com/facebook/react/blob/master/packages/react-devtools/OVERVIEW.md
And here is how to build and test the extension: https://github.com/facebook/react/tree/master/packages/react-devtools-extensions#local-development
If you just want a 'clean' browser install (without previously placed cookies, storage etc.) for debugging purposes and if you are using Private Windows to accomplish this (and not for testing the Private Windows specifically), Containers might be a handy workaround!
You can make temporary containers with a single button-press using this plugin: https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/
Firefox's containers are criminally underrated π
any update ! i still facing the same problem? any tips or tricks to make it work to test my app?
It's been almost 5 years and this still happens. Is it ever going to be worked on?
Probably not
Do you want to request a feature or report a bug?
What is the current behavior?
Steps to Reproduce is here:
Actual Result is:
Unable to find React on the page.
What is the expected behavior?
react devtools work
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?