5
submitted 8 months ago* (last edited 8 months ago) by Corsair@programming.dev to c/webdev@programming.dev

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

cross-posted onhttps://lemmy.world/post/14707833

you are viewing a single comment's thread
view the rest of the comments
[-] SteveTech@programming.dev 3 points 8 months ago

Sure it let's you use it asynchronously, but it predates and is not really compatible with JavaScript's async/Promise API.

this post was submitted on 26 Apr 2024
5 points (85.7% liked)

Web Development

3453 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS