0

I m new in a react native so please can you explain more about in this question?

1 Answers1

2

Overall they are very similar the only difference is that axios is alittle bit more developed. Some benefits of axios:

Transformers: allow performing transforms on data before request is made or after response is received
Interceptors: allow you to alter the request or response entirely (headers as well). also perform async operations before request is made or before Promise settles
Built-in XSRF protection

for more info you can check this discussion https://github.com/axios/axios/issues/314

DNA.h
  • 823
  • 8
  • 17