https://github.com/gregrickaby/swr-examples
SWR is a React Hook library for remote data fetching. Here are some simple examples.
https://github.com/gregrickaby/swr-examples
fetch nextjs react react-hooks swr
Last synced: 6 months ago
JSON representation
SWR is a React Hook library for remote data fetching. Here are some simple examples.
- Host: GitHub
- URL: https://github.com/gregrickaby/swr-examples
- Owner: gregrickaby
- Archived: true
- Created: 2020-06-03T14:35:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T02:17:15.000Z (almost 2 years ago)
- Last Synced: 2025-03-06T13:38:14.096Z (7 months ago)
- Topics: fetch, nextjs, react, react-hooks, swr
- Language: JavaScript
- Homepage: https://gregrickaby.com/blog/swr-examples
- Size: 549 KB
- Stars: 22
- Watchers: 3
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SWR Examples
[SWR](https://swr.vercel.app/) is an awesome [React Hook](https://reactjs.org/docs/hooks-intro.html) library for remote data fetching, maintained by the team at [Vercel](https://vercel.com). SWR stands for "[stale-while-revalidating](https://tools.ietf.org/html/rfc5861)", which means, SWR will attempt to load cached data (stale) first, and then fetch new data (revalidate) in the background.
👉 [Read the blog post](https://gregrickaby.com/blog/swr-examples)