Skip to content

should it retry for 404 responses? #372

Answered by tannerlinsley
raulingg asked this question in General
Discussion options

You must be logged in to vote

Yes it is. If you wish, you can use the retry option with a function to determine whether the error should result in a retry:

https://github.com/tannerlinsley/react-query#retries

Replies: 5 comments 14 replies

Comment options

You must be logged in to vote
7 replies
@ched-dev
Comment options

@TkDodo
Comment options

@HansBrende
Comment options

@czabaj
Comment options

@igor9silva
Comment options

Answer selected by TkDodo
Comment options

You must be logged in to vote
1 reply
@TkDodo
Comment options

Comment options

You must be logged in to vote
4 replies
@HansBrende
Comment options

@denisborovikov
Comment options

@TkDodo
Comment options

@aakashsrdev
Comment options

Comment options

You must be logged in to vote
2 replies
@jkazimierczak
Comment options

@Dude29
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet