https://www.youtube.com/c/codinginflow
I want to show a login modal for 401 responses (for any http method)
I want to show a login modal for 401 responses (for any http method)
"Ohh, baby, you betcha!
"Ohh, baby, you betcha!
Nooothing to worry about
Nooothing to worry about
If I do it in the fetch function, it causes React Query to retry (pointlessly).
If I do it somewhere in useQuery, the fetch function itself is not protected.
If I do it in the fetch function, it causes React Query to retry (pointlessly).
If I do it somewhere in useQuery, the fetch function itself is not protected.
The hard day of work:
The hard day of work:
Vegeta was 35 years old when he turned Super Saiyan for the first time
Vegeta was 35 years old when he turned Super Saiyan for the first time
Otherwise, RHF doesn't know when your mutation failed, and isSubmitSuccessful will be `true` even after an error.
Otherwise, RHF doesn't know when your mutation failed, and isSubmitSuccessful will be `true` even after an error.