3 ms·
It would help if the basic javascript api's were even vaguely useful I recently tried to force myself not to use any libraries for a simple site. After a while
by shawabawa3 11y ago
It would help if the basic javascript api's were even vaguely useful
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
- Conlectus 11y agoit's called the "fetch" API. Not sure if it's in ES6
- shawabawa3 11y agoah awesome. Now we just have to wait 5+years until it has 95% browser share :)
- joshuacc 11y agoNeither 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.