The New Fetch Standard
Posted by: K. Scott Allen,
on 08 Feb 2016 |
View original | Bookmarked: 0 time(s)
The XMLHttpRequest object has been around, in one form or another, since 1999. XHR has been a key ingredient in most web applications for well over a decade now. During that time various libraries have wrapped the API to make XHR more palatable and easier to use, while vendors have extended the capabilities of XHR to support binary data, cross origin requests, and progress events. Its been quite the ride, but the future is fetch. Think of fetch as a modernized XMLHttpRequest. The raw API is easier...