Skip to content
Discussion options

You must be logged in to vote

Looks like the enabled config option covers what I'm looking for. Setting enabled to false allows me to call refetch to manually fetch the data.

https://github.com/tannerlinsley/react-query#disabling-or-pausing-a-query

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rickvian
Comment options

Answer selected by tannerlinsley
Comment options

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

@TkDodo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants