I'm working on writing a little API for communicating with my authentication server. For logging in and out, it is necessary to perform a redirect. Does RTK Query currently support the ability to perform redirects? Or would this be a place to use queryFn? Thanks :)
RTK Query has no integration with any routing library, so you'd have to do that yourself, probably in a query lifecycle event or some other kind of side effect.
I'm working on writing a little API for communicating with my authentication server. For logging in and out, it is necessary to perform a redirect. Does RTK Query currently support the ability to perform redirects? Or would this be a place to use
queryFn
? Thanks :)