Wondering what's the point with Axios JS library nowadays as we have "fetch" function mostly supported natively and polyfill when not? Any opinions, Javascript folks?
That’s a good question. I use Axios because everybody else does, but maybe everybody else does just because everybody else does. #tailcall
-
-
I think that Axios has more features than fetch regarding response transformer, cancellation, etc..
-
Yes but no. interceptor => 3rd party fetch-interceptor lib if really needed transform => done with response.json() or response.blob() cancellation => https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort …
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.