News for hackers. Stuff that matters.
Re:D3.js 5.0 is out by untog on Friday March 23, 2018 @02:50PM (#16661393)
> Fetch isn't much better. Half-arsed at best, and also needs a higher level wrapper to achieve the same terseness as popular AJAX utility libs.

Really?

   let response = await fetch('http://www.example.com');
   let json = await response.json();
It's not not terse.
Re:D3.js 5.0 is out by coldtea on Saturday March 24, 2018 @01:56PM (#16667861)
That's just for a GET.

Sending e.g. a JSON POST request requires you to specify the content type and to manually stingify the payload.

It's better than XMLHttpRequest but not as terse as the tons of helper libraries that we used (instead of XMLHttpRequest) anyway...