Files
agency/.pnpm-store/v3/files/58/34b1d900b88703f7c444b5204cc433e07c71a8d9b7e49ff67592f450c1a7237d7403be81d287cc0e5aee13770f6755e09c2258486904dc5b4168b85598dbbd
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

8 lines
297 B
Plaintext

/**
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
* prop or avoid re-executing effects when passed as a dependency
*/
declare function useCallbackRef<T extends (...args: any[]) => any>(callback: T | undefined): T;
export { useCallbackRef };