package.es.hooks.useRefFunc.d.ts Maven / Gradle / Ivy
The newest version!
/**
* Same as `React.useCallback` but always return a memoized function
* but redirect to real function.
*/
export default function useRefFunc any>(callback: T): T;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy