useSWR
A hook to get the latest value of a variable
Installation
npx shadcn@latest add @hooks/use-swrpnpm dlx shadcn@latest add @hooks/use-swryarn dlx shadcn@latest add @hooks/use-swrbun x shadcn@latest add @hooks/use-swrCopy and paste the following code into your project.
npm install swrpnpm add swryarn add swrbun add swrLast updated on