State Management · Middle · Question 32 of 75

What does TanStack Query do on a failed query by default?

Explanation

retry: 3 with a growing retryDelay. Mutations aren't retried by default. You can skip retries for 4xx: retry: (count, err) => err.status >= 500 && count < 3.

Further reading

Problem with a question

State Management · Middle · question 32

Test yourself

Take the State Management · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz