What options to set if a query should be executed only once by an app? #885
Unanswered
nareshbhatia
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a few queries that simply get some lookup values from the server. These values will not change for the lifetime of the app. What options should I set so that the query is executed once and only once? Currently I have set
refetchOnWindowFocus
andstaleTime
as follows. Do I need anything more or less?Beta Was this translation helpful? Give feedback.
All reactions