In the previous chapters, you learned to render DOM elements and to react to events from the system or users, but a front-end application feeds on asynchronous data from a server. The purpose of this chapter is to show you how to build an HTTP client in a frameworkless way.
A Bit of History: The Birth of AJAX
Before 1999, a complete page reload was required for every user action needing any kind of data from the server. For people that are approaching web development (or the web in general) today, it’s very hard to imagine web applications built in this way. In 1999, ...