useValues
The useValues hook returns a reactive object reflecting the Values in the Store, and registers a listener so that any changes will update .current.
useValues(storeOrStoreId?: MaybeGetter<undefined | StoreOrStoreId>): {current: Values}| Type | Description | |
|---|---|---|
storeOrStoreId? | MaybeGetter<undefined | StoreOrStoreId> | |
| returns | {current: Values} | A reactive object with a |
Since
v8.1.0