swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Your version
0.5.7 is the newest release of 0.3.x.
In short
2 new6 fixed
Release note
Patches
Add useDebugValue to show the data label in the React DevTools
Fix problem of unnecessary revalidates when resolved data is falsy
Added example for SWR Request De-duplication feature
eventsRefshould trigger the lastest version of config callbacksFix useSWRInfinite response type
'revalidateOnFocus' and 'revalidateOnReconnect' shoule be statful
Swr.vercel.app
Do not rerender if data unchanged
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.