92 likes
·
3.2K reads
9 comments
Very interesting , good job, and thanks for sharing such a good blog.
The is really comprehensive, thanks for creating
A good read!
Amazing work with the explanation, Jack!
I enjoyed reading this!
Thanks for sharing! A good read 🚀
Nice one, Really Impressive. I had some lacking of understand the promise and async, which is clear now.
Great Article !
Clear examples and very good title!
Hey Zack, great article and very informative. Just out of curiosity, is learning ajax still needed when jumping into frameworks like react or angular? I thought ajax was a type of method call or even library as a way of getting data into your front-end app.
Hey Nathan - AJAX (Async Javascript And XML) was a method of getting data onto a website without having to reload the page. Basically it was the beginning of modern frameworks, back when it was a brand new idea to have JS call your server and then render the new content itself. (JQuery also confused this a bit by making the $.ajax
function, which was a fetch helper.)
So yeah, in general AJAX was just an acronym for the idea of "use Javascript to load XML and use that to make rendering decisions". So basically what we do still, only now we use fetch
or axios
to make the call and often use JSON instead of XML.