Home > @findkit/ui > PreactFunctions > useRef

PreactFunctions.useRef() method

Signature:

useRef<T>(this: void, initialValue: T): MutableRefObject<T>;

Parameters

Parameter Type Description
this void
initialValue T

Returns:

MutableRefObject<T>