- Episode 43
fetch() vs. XHR performance for making API calls
In today’s episode, I talk about something new I learned last week: that fetch()
can actually be more performant than XHR for making API calls.
Links
- My switch from XHR to
fetch()
- https://gomakethings.com/how-to-use-the-fetch-api-with-vanilla-js/ - Alex Russell on why
fetch()
can be faster - https://twitter.com/slightlylate/status/1185017213268287488