Reference
useRef
Returns a stable mutable ref object for the component instance.
Signature
function useRef<T>(initial: T): { current: T }Reference
Returns a stable mutable ref object for the component instance.
function useRef<T>(initial: T): { current: T }