I built in-app devtools for SWR, like TanStack Query Devtools but for SWR's cache.
Add <SWRDevtools /> and a panel lists every key with its live status. Inspect the data, then revalidate, edit or delete it.
github.com/TheFlyer1983/swr-devtools-react
#React #TypeScript #devtools #vercel #swr
I built in-app devtools for SWR, like TanStack Query Devtools but for SWR's cache. Add <SWRDevtools /> and a panel lists every key with its live status. Inspect the data, then revalidate, edit or delete it. github.com/TheFlyer1983/swr-devtools-react #React #TypeScript #devtools #vercel #swr
0 views
Published on 23/11/2026 19:14
0:26
I built in-app devtools for SWR, like TanStack Query Devtools but for SWR's cache.
Add <SWRDevtools /> and a panel lists every key with its live status. Inspect the data, then revalidate, edit or delete it.
github.com/TheFlyer1983/swr-devtools-react
#React #TypeScript #devtools #vercel #swr
useSWRInfinite and useSWRSubscription keys are labelled, and you can search and sort keys by status or last updated.
Next up: dark mode, and a TanStack Devtools plugin so SWR sits next to Query and Router in one panel.
npm i -D swr-devtools-react