Type of model the query is for.
Type of query to use.
Optional: Arguments for the query, if any
Query type constructor.
Optionalargs: TArgumentsOptional: Arguments for the query, if any
Optionalsorting: anyOptional: Sorting for the query, if any
OptionalisEnabled: booleanOptional: Whether the query should be executed. Defaults to true. When false, the hook is a no-op and returns an empty result.
Tuple of QueryResultWithState, a PerformQuery delegate, and a SetSorting delegate.
React hook for working with IQueryFor within the state management of React.