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?1 Reply
modern-teal•3y ago
No, you can't set this globally. But you can use refetchQueries() instead, which does exactly that