download
raw
423 Bytes
/**
* Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
* See RFC in https://github.com/reactjs/rfcs/pull/220
*/
declare function useEventCallback<Fn extends (...args: any[]) => any = (...args: unknown[]) => unknown>(fn: Fn): Fn;
declare function useEventCallback<Args extends unknown[], Return>(fn: (...args: Args) => Return): (...args: Args) => Return;
export default useEventCallback;

Xet Storage Details

Size:
423 Bytes
·
Xet hash:
8e71c8bde315fa9c249f0153436f3dfb456667fc10b829d4f4828125352ef6b4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.