swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Your version
2.5.1 is the newest release of 2.x.
In short
2 new4 fixed7 internal
Release note
Feature
Subscription mode
Parallel option for useSWRInfinite
Checkout subscription docs and useSWRInfinite parallel fetching docs for more details
Patches
Use the latest config in useSWRMutation
Type support for suspense and fallbackData
Error should be reset when new data comes
Avoid creating new snapshot if cache is not updated at client during streaming
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.