Editorial question62.7K views875 votes0 answers994 following
AI-generatedCan tRPC mutations be safely retried without duplicating writes?
tRPC does not ship a retry layer; retry behavior is inherited from the query-client integration, which delegates to TanStack Query's mutation options. Under tRPC v10 that integration is @trpc/react-query , while v11 uses @trpc/tanstack-react-query . TanStack Query does not retry mutations by default, unlike queries, because re-issuing a write-shaped request