© 2022 Hashnode
#fetch
You might have observed long delays when fetching data from API sometimes. It might be happening due to various reasons like network issue on the client end, DNS lookup issues, servers taking too long…
Finally, it's the weekend and you want to boost up your mood after having a hard week with Javascript at your workplace. You are all set to play golf, but it suddenly starts raining. You decided to st…
Hello there, have you been thinking of what the hell JavaScript promise is and what it entails? or have you been looking forward to learning more on JavaScript promises, then follow along as I will be…
Do you want to pull in weather data for your users? 😎 Want to make a site that tracks COVID 19 cases? 😎 You could do all of these by using API integration and giving your code superpowers to automat…
Introduction I was recently building a social media app as my personal project with ReactJS, and I saw the need to implement the change profile picture functionality. For my backend, I was using Mockb…
Since 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…
Introduction What is API? API is the acronym for Application Programming Interface is a connection between computers or between computer programs. It is a type of software interface, offering a servic…
In my career, I have used both AJAX and Fetch API (more recently). If you have ever had to get remote data from an API or internal PHP URL, most likely you have used one or the other. In this tutorial…
Intro As you probably know React is a library for building UI's and not a framework. This means it's not very opinionated about how we fetch data and update the state to reflect the latest state. A n…
Hello everyone! In this article, we are going to understand about XHR, and then compare it with other data fetching methods such as fetch. What is XHR? Firstly what is XHR? XHR is the acronym for XMLH…