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

Empty extension #84

Open
semoal opened this issue Aug 24, 2022 · 27 comments
Open

Empty extension #84

semoal opened this issue Aug 24, 2022 · 27 comments

Comments

@semoal
Copy link

semoal commented Aug 24, 2022

Hi!

I'm using latest Nextjs, with 2.0.0-beta.6 of SWR and the extension never displays anything.

Do you know how I could debug this?

@koba04
Copy link
Owner

koba04 commented Aug 25, 2022

@semoal
Thanks! That's weird 🤔
Which browser extension do you use? Chrome or Firefox?

Can you see the SWR panel and the following message?
image

You can try debugging on your local environment as the following.
https://github.com/koba04/swr-devtools/blob/main/CONTRIBUTING.md

@kristojorg
Copy link

Hi there,

I am seeing the same issue with the Chrome extension and SWR 2.0.0. I have tried wrapping it in a <SWRDevTools> component at well, but it didn't help. The firefox extension does work though. Thanks!

@koba04
Copy link
Owner

koba04 commented Dec 20, 2022

@kristojorg
What version of SWRDevTools are you using?
What about switching tabs in DevTools or reloading a page while opening SWRDevTools panel?

@kristojorg
Copy link

I was using latest (installed today) and tried new tabs and also reloading the page and hard reloading the page while the devtools panel was open

@AndreyMarchuk
Copy link

Same here, SWR v2.0.3, latest chrome 109.0.5414.119
it says Open SWRDevTools on the page using SWR.

@koba04
Copy link
Owner

koba04 commented Feb 9, 2023

Could anyone try SWRDevTools on Firefox instead?

@jSebestyen590
Copy link

I have the same problem: Chrome always only shows Open SWRDevTools on the page using SWR.
Firefox on the other hand works like a charm :)

@tomzacchia
Copy link

tomzacchia commented Apr 14, 2023

Same here Chrome Version 111.0.5563.146 (Official Build) (arm64). I'll install and wrap my app in SWRDevTools since there was mention that it doesn't affect performance even if its included in the production bundle.

@koba04
Copy link
Owner

koba04 commented Apr 14, 2023

@tomzacchia
What version's SWR are you using?
If you are using SWR v2.x, you don't have to wrap your application with SWRDevTools.

@tomzacchia
Copy link

tomzacchia commented Apr 14, 2023

@koba04 i installed latest. I opened the devtools while on the demo page and the extension fallsback to the default message

Open SWRDevTools on the page using SWR.

@kristojorg
Copy link

I noticed that when I switched chrome profiles to my personal (non work) profile, the extension started working properly. There must be some restriction on my work profile stopping it from functioning.

@koba04
Copy link
Owner

koba04 commented May 1, 2023

Thanks! That's helpful 👍

I noticed that when I switched chrome profiles to my personal (non work) profile, the extension started working properly. There must be some restriction on my work profile stopping it from functioning.

@mnik01
Copy link

mnik01 commented Oct 13, 2023

+1 on this issue

@AhmedBaset
Copy link

Is there a solution?

@jackirvine97
Copy link

Any updates on this one?

@mnik01
Copy link

mnik01 commented Nov 6, 2023

Is project not maintained anymore?
Can we priotitaze investigationg of this issue?

@koba04
Copy link
Owner

koba04 commented Nov 7, 2023

Is project not maintained anymore?

No.

I haven't reproduced this yet, so any reproduction case is helpful.

@visortelle
Copy link

Same here. Doesn't work in Chrome, but works in Firefox.

@tstanciu
Copy link

tstanciu commented Nov 25, 2023

Same problem here 🙁
Chrome Version 119.0.6045.160 (Official Build) (64-bit)

@yarinsa
Copy link

yarinsa commented Nov 26, 2023

Any resolution?

@AhmedBaset
Copy link

I haven't reproduced this yet, so any reproduction case is helpful.

Hey @koba04
What do you expect us to provide as reproduction.

We just open the devtools normally then it's blank.

I can share my screen with you using AnyDisk or similar app if that's helpful

@koba04
Copy link
Owner

koba04 commented Nov 26, 2023

A CodeSandbox project to reproduce this is helpful.

@AhmedBaset
Copy link

A CodeSandbox project to reproduce this is helpful.

The issue is not related to swr itself, but rather to the devtools

I believe CSB won't reproduce anyway.

@koba04
Copy link
Owner

koba04 commented Nov 26, 2023

Does this happen on https://swr-devtools.vercel.app/ ?

@AhmedBaset
Copy link

Does this happen on https://swr-devtools.vercel.app/ ?

No

image

But

image

@AhmedBaset
Copy link

<NotFound>
<NotFoundText>
Open SWRDevTools on the page using SWR.
</NotFoundText>
</NotFound>

@koba04
Copy link
Owner

koba04 commented Nov 27, 2023

I’m not sure the difference between the apps, so I need an app to reproduce it.

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

No branches or pull requests