vercel/swr
Read the upstream summary on the left, browse the cached forks below it, and load each fork comparison into the right-hand panel.
vercel/swr
vercel/swr is a mature React Hooks library for data fetching, centered on stale-while-revalidate behavior. It is actively maintained, widely used, and packaged for multiple entry points including core, infinite, immutable, subscription, mutation, and internal APIs.
Jump straight into Discofork's strongest cached fork picks, or open a compare view in one click.
Choose a fork to inspect
Choose this fork only if you specifically need Preact support and can accept an old, unmaintained codebase. For most teams, current upstream SWR is the safer default.
Choose this fork only if you need the older behavior or are maintaining a custom branch; otherwise upstream is the safer default because this fork is stale and likely missing many later fixes and refinements.
Do not adopt this fork for a new project. It is effectively an outdated snapshot of upstream SWR, with no visible added functionality and meaningful lag behind current fixes and maintenance.
Choose this fork only if you need its specific custom behavior or legacy compatibility. For new adoption, upstream vercel/swr is the safer default because this fork is materially behind and likely diverged in API surface and workflows.
Prefer upstream unless you specifically need this older branch. This fork looks stale and materially behind, so it is a poor default choice for new adopters.
Prefer this fork only if you need its specific customizations or legacy 2.0 behavior. For most adopters, upstream SWR is the better choice because this fork is stale and materially behind current fixes and package evolution.
Choose the fork only if you need this legacy branch specifically. For new work or ongoing maintenance, upstream SWR is the better default because it is much more current and feature-complete.
Prefer upstream unless you specifically need this fork's older behavior and are prepared to maintain a substantially outdated codebase. This fork is not a good default choice for new adopters.
Prefer upstream unless you explicitly need this older snapshot or its example/deploy conveniences. For most adopters, the fork is too stale and divergent to be a good base.