You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example: I already have user data queried in Home page then I navigate to User page and I wanna say to svelte-query to NOT query again my user data because I already have them in cache (with Infinite stale).
Am I wrong to want this?
I tried with the enabled option but obviously if navigate on the user's page before the Home page the query does not start at all.
How to do?
The text was updated successfully, but these errors were encountered:
Coming from Apollo or Urql I would like to know if there is a way to mimic (or improve) the behavior of policies like "
cache-first
":An example: I already have user data queried in Home page then I navigate to User page and I wanna say to svelte-query to NOT query again my user data because I already have them in cache (with Infinite stale).
Am I wrong to want this?
I tried with the
enabled
option but obviously if navigate on the user's page before the Home page the query does not start at all.How to do?
The text was updated successfully, but these errors were encountered: