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."
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."
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.