@serenity-is/corelib / createRef
Function: createRef()
createRef<
T>():RefObject<T>
Defined in: ../domwise/dist/index.d.ts:2330
Creates a new RefObject with current initially set to null.
The returned object is sealed to prevent extension.
Type Parameters
T
T = any
The type of the referenced value.
Returns
RefObject<T>
A new sealed RefObject<T>.