✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Function useQueryCache Alpha
useQueryCache(): {
clear: () =>void; } |undefined
React hook that returns the QueryCacheClient module instance to control query cache.
How to enable query cache see in Query Caching guide
# Returns
{
clear: () => void;
} | undefined
QueryCacheClient instance