Home > @findkit/ui > PreactFunctions > useMemo
PreactFunctions.useMemo() method
Signature:
useMemo<T>(this: void, factory: () => T, deps: DependencyList | undefined): T;
Parameters
Parameter | Type | Description |
---|---|---|
this | void | |
factory | () => T | |
deps | DependencyList | undefined |
Returns:
T