swr-devtools
swr-devtools copied to clipboard
SWR not detected?
I've opened the SWR dev tool after installing the chrome extension and I don't see any information populating?
I'm running a vite app locally and I've refreshed the page, restarted the app and reloaded the developer console to no avail. Using swr v2.2.5
. I don't have the swr dev tools node module installed as the docs instructed me not to. Using vite v5.2.8
, just a normal TypeScript project.
I have swr hooks all over the page I'm testing this out on. Definitely should pick it up.
me too.
On my side, only the Chrome extension doesn't work (on Brave and Chrome browsers) ... same as the screenshot above.
The Firefox extension seems to work fine.
(NextJS 14.2.2, typescript 5.4.5, no swr-devtools installed)
I have the same issue.
I'm using NextJS 14.2.4 and pre-fetching data with SSR. Using useSWR on client components.
@yllieth Yep, it works fine on Firefox.
I was able to make it work with Firefox but I'm still unable to use SWR dev tool with Chrome. Is there a plan to fix it for Chrome?
If you are using v2, you still need to wrap your application with <SWRDevTools>
Like in this example https://github.com/koba04/swr-devtools/blob/main/examples/swr-devtools-demo/pages/_app.tsx
If you look at package.json it uses "swr": "^2.0.0",
and also wraps the application