Nikhil Kadamnickk2305.hashnode.dev·Sep 17, 2023WTF is Asynchronous JavaScript: async/await vs .then()Introduction Hey there! Welcome back to the new blog post in the "WTF is JavaScript" series. In today's article, we will understand the asynchronous capabilities of JavaScript. Also, we will learn about how to use .then() and async/await in your code...Discuss·153 readsWTF is JavaScriptJavaScript
Mohd Junaid Arifmohd-junaid.hashnode.dev·Sep 8, 2023Fetch API: Making API calls with the Fetch API in JavaScript.Greetings, developers! 🚀 Let's explore the powerful Fetch API in JavaScript, your go-to tool for making smooth and efficient API calls. Say goodbye to bulky, outdated methods – Fetch API is here to streamline your data retrieval. Chapter 1: A Modern...DiscussMERN Stack
Sagar Panwarthatdumbcoder.hashnode.dev·Aug 30, 2023Your Guide to 'Fetch' and 'Then' in Javascript 📝In JavaScript, "fetch" and "then" are used to make requests to websites or servers to get data. It's like asking for information from the internet. Here's a simple breakdown: 1. Fetch:Think of it like sending a request to a waiter in a restaurant. Yo...Discuss·10 likesJavaScript
Nick747nick747.hashnode.dev·Aug 10, 2023Fetch Wrapper for HTTP Requests in TypeScriptHello there! Today we will learn how to build a simple fetch wrapper using typescript, nodeJS and NPM. Why do we need a Fetch Wrapper? First of all, we need to ask ourselves "Why am I creating this?", and the answer is that in the modern world, HTTP ...Discuss·1 likefetch API
Remusremusrisnov.hashnode.dev·Aug 6, 2023Programming Tidbits (VS Code Keyboard Shortcuts, Console.log Styling + Search, Diffing Libraries, fetch === curl)Here are a few tidbits I've picked up coding to make your life easier in front of the keyboard. Large Files When working with a large file, there are times you need to step back and see the bigger picture. The VS Code keyboard shortcuts below will co...Discuss·2 likes·39 readsconsole.log
Balogun Wahabbwahab.hashnode.dev·Jul 29, 2023Practical use case of the Abortcontroller and Axios cancel tokenIntroduction When implementing functionalities that involve making API requests, there are occasions where we need to cancel a pending request either based on the feature requirements or to prevent unexpected behavior in our application. Some of thes...DiscussJavaScript
Nikblog.xnim.me·Jul 3, 2023Why even simple window.fetch might be trickyI recently saw this tweet https://twitter.com/thomasfindlay94/status/1672211922517622784: While many responses were related to missed await before fetch, I'd like to talk about a bigger issue: error handling. Let's fix an obvious error and take a cl...Discuss·1 like·275 readsJavaScript
Roshan Guragainroshangrg.hashnode.dev·Jul 3, 2023API Handling In Frontend.API stands for Application Programming Interface. It is a set of rules and protocols that allows different software applications to communicate with each other. APIs enable developers to access certain functionalities or data from external systems or...DiscussAPIs
Vineeth D Shettyvineethdshetty.hashnode.dev·Jun 13, 2023Performing HTTP Requests: Axios vs FetchAny modern web app or website is difficult to imagine without servers and to create those connections between the clients and servers we use HTTP methods and web sockets. In this article, we will be focusing on Axios and Fetch which are part of HTTP ...Discuss·62 readsfetch
Ekemini Samuelenvitab.hashnode.dev·May 30, 2023Async/Await and Fetch in JavaScriptJavaScript is a single-threaded language, it handles one task at a time. Asynchronous programming allows us to handle multiple tasks concurrently, improving performance and user experience. In this article, we'll explore the concepts of async/await a...Discuss·48 readsfetch