swr

by vercel · Mobile

React Hooks for Data Fetching

New0 ratings32,474 starsActive
MobileDeveloper ToolTypeScriptJavaScript
Open project ↗↓ Download v2.5.1GitHub⚑ Report
swr preview

About this project

Introduction SWR is a React Hooks library for data fetching. The name “SWR” is derived from stale-while-revalidate, a cache invalidation strategy popularized by HTTP RFC 5861. SWR first returns the data from cache (stale), then sends the request (revalidate), and finally comes with the up-to-date data again. With just one hook, you can significantly simplify the data fetching logic in your project. And it also covered in all aspects of speed, correctness, and stability to help you build better experiences: — Fast, lightweight and reusable data fetching — Transport and protocol agnostic — Built-in cache and request deduplication — Real-time experience — Revalidation on focus —…

Technologies

TypeScriptJavaScriptcachedatadata-fetching

Project health

Actively maintained
Last update6 days ago
Contributors197
Latest releasev2.5.1
Open issues & PRs217
LicenseMIT
On GitHubsince 2019

GitHub

32,474
stars
1,381
forks
197
contributors
217
open issues & PRs
TypeScript
language
6 days ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review swr.

Built by

vercel
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain vercel/swr? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like