# SWR

React Hooks library for data fetching that returns cached data first and revalidates it in the background.


Source: https://findsoftware.frbit.cloud/swr/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://vercel.com/oss/swr
- repository: https://github.com/vercel/swr
- docs: https://swr.vercel.app/docs/getting-started

### Identity

- status: active
- maintainer: Vercel, Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: react

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-08-12

### Adoption

- githubStargazers: 32491
- packagistDownloads: not applicable
- npmWeeklyDownloads: 26869135
- contributors: 198
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 39481
- dependentPackages: 1271

### Sources

- urls: https://vercel.com/oss/swr (read 2026-11-16)
- urls: https://api.github.com/repos/vercel/swr (read 2026-11-16)
- urls: https://swr.vercel.app/docs/getting-started (read 2026-11-16)
- category: https://github.com/vercel/swr/blob/main/README.md (read 2026-11-16)
- basedOn: https://github.com/vercel/swr/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/vercel/swr (read 2026-11-16)
- license: https://api.github.com/repos/vercel/swr (read 2026-11-16)
- maintainer: https://github.com/vercel/swr/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/vercel/swr/releases (read 2026-11-16)
- currentMajor: https://registry.npmjs.org/swr/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/vercel/swr/releases (read 2026-11-16)
- installMethod: https://swr.vercel.app/docs/getting-started (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/swr (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/vercel/swr (read 2026-11-16)
- contributors: https://api.github.com/repos/vercel/swr/contributors (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swr (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swr (read 2026-11-16)

## Notes

SWR is a data-fetching library for React. A component gets cached data first, the library sends the request and then updates the component with the fresh response.

The README lists server-side rendering and static generation among its features.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
