Skip to content
Discussion options

You must be logged in to vote

Setting staleTime doesn't automatically trigger a fetch.
It seems that refetch returned from useQuery is what you are looking for.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tparvi
Comment options

@TkDodo
Comment options

Answer selected by tparvi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants