arrow_backBACK TO DRILLS
Black BeltecosystemPREMIUM
TanStack Query isFetching vs isLoading vs isPending - Each Flag Tracks a Different Phase
In TanStack Query's useQuery, a developer wants a loading spinner to appear only on the very first fetch for a query key, not on background refetches triggered afterward. Which flag should drive that spinner?