Queries
React queries in Arc provide strongly typed data-access patterns for request/response reads, paged views, and live observable streams.
This page is an overview of capabilities. Detailed behavior is documented on the dedicated pages below.
Capabilities
| Capability | What It Covers | Learn More |
|---|---|---|
| Arc-level configuration | Query-related <Arc /> props for transport, headers, and stream transfer mode |
Configuration |
| Core query usage | use() patterns, arguments, and QueryResultWithState |
Core Query Usage |
| Paging and sorting | useWithPaging, page/sort callbacks, and paging metadata |
Paging |
| Observable streams | Real-time subscriptions, transport selection, and direct mode | Observable Queries |
| Suspense integration | useSuspense() with query boundaries and error boundaries |
Suspense Queries |
| Conditional execution | when(condition) patterns for safe query activation |
Conditional Queries |
| Change deltas | useChangeStream() and transfer-mode behavior |
Change Stream |
| Connection behavior | Multiplexing, connection count, and hub routing | Observable Query Multiplexing |
| Instance lifecycle | Shared query instances and cache behavior | Query Instance Caching |
| Performing state | Track in-flight queries across components and ViewModels | Query Scope |
Frontend Layering
For low-level query contracts and non-React runtime behavior, see Frontend Core Queries.