swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
0.5.7 is the newest release of 0.3.x.
In short
9 new9 fixed2 internal
Release note
Minor Changes
New infinite loading API
Add microbundle
Add persistSize option to useSWRInfinite
Revert "add microbundle "
Enhance: Remove mutate calls from cache
Fix page size persistence when remounting
Don't retry on error if errorRetryCount is set to 0
Check if mounted when trigger rerender
Export interfaces used by useSWRInfinite
Fix typescript warning
Should throw when mutate failed
Enhance: Fallback to setTimeout when request idle callback is not available
Enhance: Move online listeners to config
Patches
Change name to Vercel
Update keyErr on the cache when mutating
Updated the readme
Update link
Remove unused command
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.