32.3k

SWR

A set of React Hooks for data fetching, aiming for high performance and efficiency.

SWR is built in TypeScript, distributed under the MIT License, 32.3k GitHub stars from 100 contributors, latest release v2.4.0.

When to use SWR

SWR is listed here as a Development project. The directory calls out Stale-while-revalidate strategy, Auto caching and revalidation, Out of the box SSR support as capabilities associated with it.

Other recorded traits for SWR include Real-time experience, TypeScript ready.

Besides Development, this page also files SWR under React, Utils.

SWR compared with

Records in this directory name React Query, Apollo Client as products people compare with SWR. That list is editorial metadata, not a claim that SWR replaces each of them.

Open-source projects that mention SWR are collected on a separate alternatives page.

What the SWR stats reflect

GitHub currently shows 32.3k GitHub stars, about 100 contributors, 1.3k forks, 190 open issues, latest tracked release v2.4.0. Star and activity counts here are a snapshot used as a proxy for community adoption, not a quality score.

Stats refreshed

Language
TypeScript
Latest Release
v2.4.0
License
MIT License

Our Newsletter

Get new Development tools right in your inbox

Get short emails with useful development projects, releases, and repos worth watching.


Key features of SWR

  • Stale-while-revalidate strategy
  • Auto caching and revalidation
  • Out of the box SSR support
  • Real-time experience
  • TypeScript ready

Recorded alternatives to SWR

See open-source alternatives to SWR

SWR on GitHub

Stars
32.3k
Contributors
100
Open Issues
190
Forks
1.3k

Frequently asked questions

What is SWR?

A set of React Hooks for data fetching, aiming for high performance and efficiency. This directory highlights Stale-while-revalidate strategy, Auto caching and revalidation, Out of the box SSR support.

Is SWR free to use?

SWR is published as open source under the MIT License. The directory lists Stale-while-revalidate strategy, Auto caching and revalidation, Out of the box SSR support among its recorded capabilities.

What language is SWR written in, and what is the latest release?

SWR is written primarily in TypeScript. The latest release tracked on this page is v2.4.0.

How widely is SWR used on GitHub?

SWR has about 32.3k GitHub stars across about 100 contributors. It also has about 1.3k forks. Those counts are a snapshot of community attention, not a ranking of quality.

Where can I see open-source alternatives to SWR?

Open-source projects that list SWR are collected at https://www.open-source-tools.com/alternatives/swr. Named comparisons on this page include React Query, Apollo Client.