useRef<T> method

ReactRef<T> useRef<T>(
  1. T? initialValue
)

Returns a stable mutable ref.

Implementation

ReactRef<T> useRef<T>(T? initialValue) => unsupportedReactFeature('useRef');