QueryClient manages cache reads, writes, invalidations, and subscriptions. It is exposed as kweri.queryClient for advanced use cases — in most applications you’ll interact with the Kweri facade instead.
Constructor
Methods
getQueryKey
invalidateQuery
endpoint + params as stale by setting updatedAt = 0.
invalidateByKey
invalidateByPath
pattern.
removeQuery
removeByKey
getCachedData
undefined.
setCachedData
subscribe
CacheStore
The underlying storage used byQueryClient. Exposed as kweri.queryClient → internal store.