The fetch polyfill is so nice to read. I generally don’t care for aesthetic qualities of the code but I like how it’s both highly readable and relatively concise. https://github.com/github/fetch/blob/master/fetch.js …
Replying to @dan_abramov
It's funny to think about how the `fetch` polyfill will call `XMLHttpRequest` but then behind-the-scenes `XMLHttpRequest` is nowadays defined in terms of fetch. https://xhr.spec.whatwg.org/#the-send%28%29-method …
1:31 PM - 29 Apr 2020
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.