Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 694 Bytes

useRefList.md

File metadata and controls

31 lines (16 loc) · 694 Bytes

realueDocs


realue / useRefList

Function: useRefList()

useRefList<T>(...refList): RefCallback<T> | null

Combines a list of refs into a single callable ref, updating the list of refs to the value it is called with.

Type Parameters

T

Parameters

• ...refList: (undefined | Ref<T>)[]

The list of refs to combine.

Returns

RefCallback<T> | null

Callable ref that updates the list of refs to the value it is called with.

Defined in

lib/hooks/useRefList.ts:10