Reference

useRef

Returns a stable mutable ref object for the component instance.

Signature

function useRef<T>(initial: T): { current: T }