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>
Home > @findkit/ui > PreactFunctions > useRef
Signature:
useRef<T>(this: void, initialValue: T): MutableRefObject<T>;
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| initialValue | T |
Returns:
MutableRefObject<T>