vercel / swr
Strong signals across all four use cases
Distributed ownership (top contributor 34% of recent commits) · MIT licensed · CI configured
- Stars
- 32,494
- Last push
- 22 Sept 2026
- Contributors
- 32in recent commits
- OpenSSF Scorecard
- 5.7 / 10
- High/critical advisories
- 025 dependencies checked
What it is
AISWR is a React Hooks library for data fetching that implements the stale-while-revalidate cache strategy from HTTP RFC 5861.
MIT license
Run it
package.jsonpnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319
pnpm run buildpnpm run testpnpm run lint
Start reading
AIREADME.mdRepository rootsrc/index/use-swr.tsSuggested starting pointsrc/_internal/utils/cache.tsSuggested starting point
Alternatives
No curated alternatives yet. Compare with any repository →
Evidence and revisions: Sources & freshness · Use with your agent