News for hackers. Stuff that matters.
Re:This Week in Rails: jQuery no longer part of Rails, and more by helb on Friday December 09, 2016 @07:41AM (#13138404)
> XHR is a negligible amount of code with vanilla javascript

That was one of the pains the Fetch API cured for me. The syntax and overall concept is just so much nicer.

I was using Nanoajax library before that. It's great (and light, 620 bytes gzipped), but I moved almost completely to Fetch as soon as i started getting used to Promises more.

I guess libs like these and maybe even the Fetch in current browsers were somehow inspired by jQuery's $.ajax…

Re:This Week in Rails: jQuery no longer part of Rails, and more by rajangdavis on Friday December 09, 2016 @07:49AM (#13138438)
Definitely, I totally agree jQuery did a lot of good in terms of making javascript easier to work with as well as influencing the current spec. I completely forgot about Fetch! Thanks for bringing that up, been too lost in the pre-ES6 syntax.