You've probably heard about SWR if you've lately worked with client-side data fetching in Next.js. It comes with useSWR, a React hook that simplifies all the difficult things in client-side data fetching (caching, revalidation, attention tracking, and so on).