useSWR
A hook to get the latest value of a variable
Installation
npx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-swr.json"pnpm dlx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-swr.json"yarn dlx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-swr.json"bun x shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-swr.json"Copy and paste the following code into your project.
npm install swrpnpm add swryarn add swrbun add swrLast updated on