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