Unable to refetch query using 'id' inside onSuccess() callback of useMutation in react-query 3.6.0

前端 未结 0 1219
栀梦
栀梦 2021-02-14 21:54

I was using QueryCache.refetchQueries to refetch the query with id \'fetchProducts\' but it failed to work.

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