Home > @findkit/ui > PreactFunctions > useEffect

PreactFunctions.useEffect() method

Signature:

useEffect(this: void, effect: EffectCallback, deps?: DependencyList): void;

Parameters

Parameter Type Description
this void
effect EffectCallback
deps DependencyList (Optional)

Returns:

void