T
TanStack3y ago
optimistic-gold

How to handle redirect from query

If I were to get a 302 back from a query how would I handle that? Or should it not even be in a query hook?
2 Replies
fair-rose
fair-rose3y ago
How would you do it without react-query ?
optimistic-gold
optimistic-goldOP3y ago
just hit the get route and get the redirect?

Did you find this page helpful?