Skip to content

useRef

reference
1 min readUpdated

Kind: Function

Source: src/jsx/hooks/index.ts

Part of: Jsx

Signature

ts
function useRef(initialValue: T | null): RefObject<T | null | undefined>

Parameters

NameType
initialValue`T

Returns: RefObject<T | null | undefined>

Was this page helpful?

Download as PDF
useRef — Hono (narrator proof)