CLIENT API INTERFACE · UPDATED NOV 29, 2026

ClientOptions Interface Reference

Pass a ClientOptions object into createClient() to control caching, network retries, normalization keys, and SSR behavior across your application.

OptionTypeDefaultBehavior
queryFetcherQueryFetcherRequiredAsync transport executing POST/GET GraphQL requests
normalizationboolean | NormalizationOptionstrueNormalizes entities by __typename + identifier field
retryboolean | RetryOptionstrueRetries transient network failures with exponential backoff
staleWhileRevalidatebooleanfalseReturns cached values immediately while refreshing in background
suspensebooleanfalseThrows active promises for React Suspense boundaries

For production APIs behind CDNs or rate limiters, pair conservative retry settings with structured handling of GQlessError and review the TypeScript object types handbook when extending custom normalization key functions. See also the Core Client API overview.