Open QingjiaTsang opened 1 year ago
Yes, I think SWRDevTools should work with Next v13.
In this case, you don't wrap your application with <SWRDevTools />
https://github.com/koba04/swr-devtools#how-to-use
I expect you can see cache data on the SWRDevTools panel only by installing a SWRDevTools extension. Could you reload the page while opening the SWRDevTools panel if you can't see data on the panel?
https://github.com/koba04/swr-devtools#install-the-swrdevtools-extension
We use next.js v13.5.3 and it didn't work as well. When adding <SWRDevTools />
in our layout it worked.
I've seen in the examples you have one using v13.1.6, so maybe it's a more recent change to next.js which broke the SWRDevTools automatic injection.
Thank you! I'll update the Next version to the latest and test it.
I can reproduce it and will try to fix it. Sometimes, the SWRDevTools display cache data correctly, so I assume a connection problem between an application and the Chrome extension process causes this.
Using Chrome v120 I'm not able to get it working with or without the <SWRDevTools>
component wrapping my app. It also doesn't work at https://swr-devtools.vercel.app/.
However, it does work in Firefox.
Any updates?
Hello, any updates on this issue? I'm experimenting the same problem.
Since it works as expected in Firefox, perhaps the issue is with the Chrome extension?
The Firefox version is still MV2, but the Chrome version is MV3, so I assume the MV3 implementation is incorrect.
is not working either on edge, maybe the same reason not working on chrome
Same issue here.
using nextjs@13.4 and swr@2.2.2
I wrapped the SWRDevTools at the top client component and there's no errors up in chrome console, but it seems nothing happened at the swr panels when I fetch some data.
Is it supported in nextjs app?