Replies: 1 comment 8 replies
-
The better idea is to use one query client and filter down what you'd want to persist with
yes, but you can pass a custom query client to |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use two query clients: normal one for usual use cases, and persistent one to cache some queries for a long time. What is the correct implementation? Is below correct? How to use
persistent
query provider for certain queries? I guess by defaultuseQuery
uses the provider from the nearest content (not persistent one in my case).Also, for each query I want to specify
cache
time separately as below where the query should be stale after midnight:Beta Was this translation helpful? Give feedback.
All reactions