RealityShift
RealityShift7mo ago

Retry even when disabled

I'm not positive if this is a tRPC question or Tanstack.... but I have my query disabled per Tanstack docs and it fires every time the page is focused if I throw a TRPCError. Anybody have any ideas on what I'm doing incorrectly?
No description
Solution:
It's a tanstack thing, refetchOnFocus as well as a few related options
Jump to solution
2 Replies
Solution
Nick
Nick7mo ago
It's a tanstack thing, refetchOnFocus as well as a few related options
RealityShift
RealityShift7mo ago
Ohhh man. Didn't see that one.. was just looking for "retry". Thanks Nick!