Type of model the query is for.
Type of query to use.
Optional: Arguments for the query, if any
Query type constructor.
Paging information.
Optionalargs: TArgumentsOptional: Arguments for the query, if any
Optionalsorting: anyOptional: Sorting for the query.
Optional: Whether the query should be executed. Defaults to true. When false, the hook is a no-op and returns an empty result without suspending.
Tuple of QueryResultWithState, a PerformQuery delegate, and paging controls.
React hook for working with IQueryFor within React Suspense boundaries for queries with paging. Suspends the component while the query is loading and throws errors for ErrorBoundaries.