SWR - A Better Way to Fetch Data
SWR is a React Hooks library for data fetching. It allows you to use React Hooks to fetch data from an API, cache the data, and re-use the data when the component renders. SWR first returns the data from cache (stale), then returns the fetched data (...
Sep 28, 20222 min read103

