Type of model the query is for.
Type of observable 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.
Optional: Whether the query should subscribe. Defaults to true. When false, the hook is a no-op and returns an empty result without suspending.
Tuple of QueryResultWithState and a SetSorting delegate.
React hook for working with IObservableQueryFor within React Suspense boundaries. Suspends the component until the first result is received and throws errors for ErrorBoundaries.