Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Why you use XMLHttpRequest instead of Fetch API"

I've been going back and forth on this one.

The faster one is dependent upon the browser.

https://github.com/arendjr/fetch-vs-xhr-perf



Thanks for the explantation. I wasn't aware of this (but i guess this will change when the fetch API is more widely used and vendors are implementing faster methods).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: