T
TanStack3y ago
correct-apricot

change default refetchType

when doing invalidateQueries, one can change the refetchType. If i always want to do refetchType: "all", is there a way to set it to be the default?
2 Replies
xenial-black
xenial-black3y ago
you can use refetchQueries instead ?
correct-apricot
correct-apricotOP3y ago
Legit, thanks

Did you find this page helpful?