A function with a stable identity that always calls the newest version of your handler, so memoised children and effects never re-run for it.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-stable-callback.json"