Y
Hacker News
new
|
ask
|
show
|
jobs
by
mrspeaker
4000 days ago
I love that the Fetch API is happening (has happened!):
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
fetch(url).then(data => ...)
Not earth-shattering, but much more fun than XHR!
3 comments
knodi123
4000 days ago
Guess nobody told them,
https://bachelorburnbook.files.wordpress.com/2013/07/image.p...
link
khuey
4000 days ago
We've been making that joke internally at Mozilla for at least a year.
link
gdamjan1
3999 days ago
fetch looks nice on the surface, but you can't cancel a request. is there even a timeout?
link
iso8859-1
4000 days ago
how do I use it with the yield keyword?
link
https://bachelorburnbook.files.wordpress.com/2013/07/image.p...