Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Managing Async Dependencies with JavaScript. Parent comment
Believe it or not but currently it's actually the other way around: XHR is defined in terms of fetch:
> XHR is now defined in terms of fetch (see the calls to fetch in XHR's .send()), meaning fetch is lower level than XHR.
Source: https://jakearchibald.com/2015/thats-so-fetch/ and https://xhr.spec.whatwg.org/#the-send%28%29-method
There are no comments on this comment yet.
Believe it or not but currently it's actually the other way around: XHR is defined in terms of fetch:
> XHR is now defined in terms of fetch (see the calls to fetch in XHR's .send()), meaning fetch is lower level than XHR.
Source: https://jakearchibald.com/2015/thats-so-fetch/ and https://xhr.spec.whatwg.org/#the-send%28%29-method