Function: useAllAtomsValues()
useAllAtomsValues<
Value>(atoms): (undefined|Awaited<Value>)[]
Defined in: lib/state-management/atoms.ts:69
Hook that returns an array containing the values of all provided atoms.
Type Parameters
Value
Value
The type of the atoms' values.
Parameters
atoms
(undefined | WritableAtom<Value, any, any>)[]
Array of atoms to get values from.
Returns
(undefined | Awaited<Value>)[]
Array of atom values.