mizzle

Use Latest · mizzle

A ref that always holds the newest value of a prop or callback, updated after each render. Lets an effect or a subscription call the latest callback without re-running whenever its identity changes.

npx shadcn@latest add https://mizzle.saddy.me/r/use-latest.json

Use Latest is part of mizzle's licensed catalog

Sign in or get a license at mizzle to see its source and install it.