Packages

swr

2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.3.1

20 Aug 2020Where it was published

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

  • eventsRef should trigger the lastest version of config callbacks

  • Fix 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.