Hello, I was wondering if there is a more fleshed ...
# javascript
k
Hello, I was wondering if there is a more fleshed out axios wrapper then the example given in the readme. Wanted to check before I start using it. Thanks!
t
Do you use React? Coroutines?
k
Yes, using React
and open to coroutines
t
You can use custom hook with special
fetch
for coroutines
Or
fetchAsync
if you use Tanstack Query
k
was having an issue with
fetch
sending the
Authorization
header even with
credentials
set while it works with
axios
but I can give it another shot
though I was trying to use a map for the headers and it might need to be a
jso
object instead
👍 1
t
We use strict
Request
to avoid such problems
🙌 1
k
great, that's what I was missing. Thanks!