Re:The average size of Web pages is now the average size of ...
by Conlectus on Friday April 22, 2016 @09:44AM
(#11549069)
it's called the "fetch" API. Not sure if it's in ES6
Re:The average size of Web pages is now the average size of ...
by shawabawa3 on Friday April 22, 2016 @09:51AM
(#11549138)
ah awesome.
Now we just have to wait 5+years until it has 95% browser share :)
Re:The average size of Web pages is now the average size of ...
by joshuacc on Friday April 22, 2016 @04:23PM
(#11552319)
Neither XMLHttpRequest, nor the Fetch API mentioned in a sibling comment are part of the JavaScript language. They are both web platform specs maintained by the WHATWG. The JavaScript committee (TC39) does not control these platform APIs.
I recently tried to force myself not to use any libraries for a simple site. After a while I realised I had so much re-invention of stuff (AJAX in particular is madness without a library) that I ended up adding Zepto
With all the crap they're adding in ES6 you would have hoped they would add an ajax function at least