-
In v1, there was the Is a similar feature to this For reference, this is the Manual Querying section from 1.5.9: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Looks like the https://github.com/tannerlinsley/react-query#disabling-or-pausing-a-query |
Beta Was this translation helpful? Give feedback.
-
Previously, manual also prevented the query from fetching when its dependencies were changed. I believe the enabled option does not cover this scenario? |
Beta Was this translation helpful? Give feedback.
Looks like the
enabled
config option covers what I'm looking for. Settingenabled
tofalse
allows me to callrefetch
to manually fetch the data.https://github.com/tannerlinsley/react-query#disabling-or-pausing-a-query