

SWR
Like
React hooks for data fetching.
Cost / License
- Freemium (Subscription)
- Open Source (MIT)
Platforms
- Self-Hosted
- React
SWR News & Activities
Highlights All activities
Recent activities
- xenmaster added SWR
- POX updated SWR
xenmaster added SWR as alternative to TanStack and axios client
SWR information
No comments or reviews, maybe you want to be first?
What is SWR?
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 SWR, components will get a stream of data updates constantly and automatically. Thus, the UI will be always fast and reactive.


