A ref that always holds the newest value, so a timer, listener or async callback can read current props and state without being re-created.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-latest.json"