Replies: 1 comment 10 replies
-
show a reproduction please |
Beta Was this translation helpful? Give feedback.
10 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'm using a useQuery which is of the form:
const { data } = useQuery(foo, async () => {...})
where
I use staleTime: Infinity
I want the component to render the proper value immediately and not on multiple reload of component. Please let me know if using useQuery in this case would be a good idea
Beta Was this translation helpful? Give feedback.
All reactions