Swr

Fetch, cache, and revalidate data in React with SWR — stale-while-revalidate data fetching library by Vercel. Use when someone asks to "fetch data in React", "SWR", "data fetching hook", "cache API calls", "stale-while- revalidate", "auto-refresh data", or "React data fetching without Redux". Covers data fetching, caching, revalidation, mutation, pagination, and optimistic updates.

terminalskills Updated

File contents

terminalskills/skills/tree/main/skills/swr commit 63e29195cd

Frequently asked questions

npx skillmds@latest add terminalskills/swr