Rohit Abhishekdevbychance.hashnode.dev·Jun 8, 2022XHR vs FetchSince JavaScript is a single-threaded language, it is synchronous in nature. So doing the asynchronous tasks was a pain in the ... Therefore the concept of AJAX was introduced in javascript. Fetch and XHR is two popular methods that use AJAX. AJAX ...146 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.