Errors · hook · 1K
Hands errors from event handlers, effects, timers and promises to the nearest error boundary by re-throwing them on the next render. Returns a stable function.
pnpm dlx shadcn@latest add @s7ui/use-throw-to-boundary