Hi,
I discovered this webpage
https://developer.mozilla.org/en-US/docs/Glossary/XMLHttpRequest
Where it say
The Fetch API is the modern replacement for XMLHttpRequest.
Without further explain on why so…
Did you (yourself) migrated from XHR to The Fetch API ? and is it better ? or do you know any (not bias) article about it ?
What about performances etc…
Thanks
Thanks @Max_P@lemmy.max-p.me weird because I can use XHR as async… see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open
open(method, url, async)
Sure it let’s you use it asynchronously, but it predates and is not really compatible with JavaScript’s
async
/Promise
API.