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 ...184 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.