OK, so this is interesting and while sure it’s opinionated, I got what I needed out of it, a quick explanation as to why some would see axios as a viable or preferred alternative to native ajax (fetch) call. Personally, I don’t mind the extra method to get my json data if it means I can work with it and I don’t need to load yet another library and I don’t need to cancel the request, in which case throwing an error does the job just fine. Thanks though, for the write-up. Bookmarked it! :)

Writer of code, blogs and things that live on the web. Pragmatic doer, Lego fan, Mac user, cool nerd. JavaScript and Flutter enthusiast. HMH.engineering editor.

Writer of code, blogs and things that live on the web. Pragmatic doer, Lego fan, Mac user, cool nerd. JavaScript and Flutter enthusiast. HMH.engineering editor.