Skip to content

Function: useRows() ​

ts
function useRows<F>(dashboard, query?): RowsResult | null;

Defined in: packages/react/src/state.ts:47

Rows passing every filter, fetched again after every update; null until the first page arrives. Answers that arrive out of order are dropped. query is compared as JSON.

Type Parameters ​

Type Parameter
F extends string

Parameters ​

ParameterType
dashboardDashboard<F> | null
query?RowsQuery & object

Returns ​

RowsResult | null

Released under the MIT License.