TanStackT
TanStack3y ago
1 reply
dangerous-fuchsia

How to set a default `refetchType`

When calling invalidateQueries, I would like refetchType to be set to 'all' by default. I can't find a way to set a default refetchType on the queryClient. Is there another option that will allow me to achieve this default behavior?
Was this page helpful?