Packages

swr

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

Your version

0.2.0

30 Mar 2020Where it was published

0.5.7 is the newest release of 0.2.x.

In short

9 fixed1 internal

Release note

Patches

  • Fix polling conditions

  • Change useRequest.js to use mutate

  • Fix 'reconnect' assignment

  • Dedupe extra requests after mutation

  • Use window as a target for online event

  • Update examples/server-render: Use getServerSideProps

  • Document the compare option

  • Hoist side effects out of useSWRPages render fiber

  • Remove keyRef check; add tests

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.