How can I stop a react-query useQuery running on a refetchInterval when a condition is met?

前端 未结 0 1049
再見小時候
再見小時候 2021-02-18 23:53

I have a requirement to keep fetching data until a condition is met I can set up the fetch on an interval with the snippet below but I can\'t figure out how to stop the fe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题