Vue Js and PokeApi

0

I'm currently studying VueJs, I'm using Ajax to request the API, and integrate the application, but I've read it in different places about Axios. Why use Axios and not the "$ .Ajax"? It is more organized, secure, or simply "standard."

    
asked by anonymous 16.07.2018 / 14:57

1 answer

0

The main "reason" for using Axios is that it is agnostic to the system. That is, if you are using javascript, you can use Axios to be a Vue, node, angular, react, whatever project.

You learn Axios and can use it in any project. Unlike $ .Ajax that only works if you install jQuery.

    
25.07.2018 / 15:06