© 2023 Hashnode
#fetch
sebelum kita masuk ke pembahasan, yuk kita cari tahu dulu perbedaan syncronus dengan asyncronus Synchronous adalah metode yang menunggu tugas selesai sebelum melanjutkan ke tugas berikutnya. Dalam hal…
This is a follow-up to this post of mine where I show how to retrieve data from a public google spreadsheet via their JSON output and show it in the webpage by setting the HTML to a DOM element via innerHTML. I think doing something like do…
Fetch.ai or FET is an autonomous agent technology. Create an infrastructure for developing modern decentralized peer-to-peer (P2P) applications using AI technology. Important information about the token can be found on the MEXC Digital Asse…
When I first started studying promises in asynchronous JavaScript,I used to be confused about the .then syntax and the async await,I was like "NOT AGAIN!!!".How am I supposed to memorize all that synt…
If the txt filename is test.txt fetch("test.txt").then(function(response){return response.text();}).then(function(text){console.log(text);}); Run it and console will show context of test.txt It can be used in HTML page if you need to load …
So a few hours back, approximately 70 hours from now, we entertain the emersion of a new year -2023, I love calling it the new dawn of technology, to some forks, it is the chatGPT year :). 2022 was a …
Axios is a popular JavaScript library that allows you to make HTTP requests from the browser or from the server. It works in both the browser and in Node.js, and it's designed to be easy to use and fl…
Data fetching is an essential part of any modern web application. It allows us to retrieve data from APIs and other sources to display it to the user. In a React application, many different libraries …
Introduction This article will tell you how to correctly fetch data from APIs in React. From making efficient API requests to delivering good user feedback, it covers it all. Tech Stack I am going to use Chakra UI for UI components, you can…
Over the years, people have asked me to help them debug their redux/redux tool kit code. Oftentimes, these debug sessions always lead me to recommend React query because of its efficiency and effectiv…