Reference

createRef

Creates a mutable ref object with a null initial current value.

Signature

function createRef<T>(): { current: T | null }