Jquery Ajax Vs Fetch

Posted on  by admin

Weighing up whether to use XMLHttpRequest vs Fetch and its modern take on Ajax? We compare the pros and cons of both options.

March 2019 celebrates the 20th anniversary of Ajax. The first implementation of XMLHttpRequest shipped in 1999 as an IE5.0 ActiveX component (don’t ask). Before then, there had been ways to pull data from a server without a full-page refresh, but they often relied on clunky techniques such as