Salma Elmasry
1 min readFeb 16, 2019

--

Thanks Serhii for asking that question. Axios is a library intended to handle the XMLhttpRequest from the browser, or making the http request in nodejs for us. It handles parsing your promise into JSON object in one single call. However, if you use the normal fetch() you have to do it in to steps, make actual call, then parse into JSON. This definitely decreases your app performance. If you want to dig more, I would recommend this post from Jason Arnold he has a really get in-depth explanation here is the link https://link.medium.com/CxAiiKO0lU.

--

--

Responses (1)