What can you do with XMLHttpRequest and cannot with Fetch API?

Viewed 318

I know that as for 2020 the Fetch API can be considered a modern replacement for pretty much everything that was done with XMLHttpRequest. But I wonder if there are still things that can only be done with XMLHttpRequest at this point. Can XMLHttpRequest be completely dropped?

2 Answers

jQuery depends on XMLHttpRequest (even if the latest version of jQuery does not any more, some previous versions do). Dropping support for it would cause all codebases using jQuery to break so no support can not be dropped.

Related