Packages

swr

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

Your version

0.4.1

28 Jan 2021Where it was published

0.5.7 is the newest release of 0.4.x.

In short

9 fixed13 internal

Release note

Patches

  • Enhance: Let config.isPaused works with react state

  • Add protection for navigator

  • Update default fetcher documentation in README.md

  • revalidateOnFocus not working on '< iOS 14'

  • Add server check back for rAF

  • react-hooks/exhaustive-deps warnings

  • Separate tests

  • Fix the revalidation condition of the first page

  • Check key before calling callback

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.