Packages

swr

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

Your version

0.4.0

7 Jan 2021Where it was published

0.5.7 is the newest release of 0.4.x.

In short

3 new3 fixed

Release note

Minor Changes

  • Provide config.isPaused indicating idle state and stop revalidation

  • First page of useSWRInfinite should reuse the cache from useSWR

Patches

  • Keep isValidating be true when there are two concurrent requests

  • Fix act

  • Clear refresh timer on effects change and check it on starting new timer

  • Add test for #852

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.