Home > @findkit/ui > PreactFunctions > useCallback

PreactFunctions.useCallback() method

Signature:

useCallback<T extends Function>(this: void, callback: T, deps: DependencyList): T;

Parameters

Parameter Type Description
this void
callback T
deps DependencyList

Returns:

T