Categories
Code

SWR Examples

SWR is an awesome React Hook library for remote data fetching, maintained by the team at Vercel. SWR stands for “stale-while-revalidating“, which means, SWR will attempt to load cached data (stale) first, and then fetch new data (revalidate) in the background.

I built a repo with some simple examples, check it out on Github!