Darshit Anjariadarshitanjaria.hashnode.dev·Dec 10, 2024Why response.json() Needs await: Simplify Asynchronous JavaScriptWhen working with fetch API in JavaScript, you often encounter the need to use the await keyword when calling response.json(). This can be puzzling to newcomers, as response.json() looks like a simple function call, but it’s actually asynchronous. Le...DiscussJavaScript
Ahnaf Tahmid Zamanahnaftahmidzaman.hashnode.dev·Nov 21, 2024Building a Dynamic Book Catalog with AJAX and XMLIn today’s fast-paced web development world, creating smooth and responsive user experiences is key. One way to achieve this is through AJAX (Asynchronous JavaScript and XML), a powerful technique that allows web pages to communicate with servers and...DiscussDynamic Webpages
Ayan Mehtafromhimalayas.hashnode.dev·Nov 16, 2024Mastering Async JavaScript: From Callbacks to Promises and Beyond 🚀TOPICS Callbacks Promises Async/Await .then/.catch finally Why do we need promises in Javascript : let's understand this first by some basic topics Callbacks: to understand promises we first need to understand callbacks. callbacks are function...DiscussAsync Programming Tips
Saksham Shreysakshamshrey.hashnode.dev·Nov 10, 2024Closures and Async Ops in SwiftClosures !? Closures are blocks of code you can pass around in Swift. They're like functions but lighter and more flexible. Closures let you run code on demand, pass it as a variable, or use it for callbacks. UsesClosures make code compact and powerf...Discuss·30 readsSwift
Ebinehita Sylvester-Paulflutter-explained.hashnode.dev·Nov 9, 2024Asynchronous Programming (Futures and Streams) in DartWhat is Asynchronous Programming? Asynchronous programming is a programming technique that allows tasks to run concurrently (at the same time) without blocking the execution of other tasks. What is a Future? A Future is the result of an asynchronous ...DiscussFlutter
gayatri kumargeekee.hashnode.dev·Nov 8, 2024Mastering the Art of Async: Let’s Get Moving!Why Go Async? Imagine you’re racing a car, but every time your car needs a pit stop, the entire race pauses until it’s finished. This wouldn’t make sense! In a race, every car runs independently, so one car’s pit stop doesn’t stop others. Asynchronou...Saanvi Kumar and 2 others are discussing this3 people are discussing thisDiscuss·50 likesWeb Developmentjs
David Gostindgostin.hashnode.dev·Nov 7, 2024Asynchronous Programming in JavascriptHere are some examples of asynchronous programming in JavaScript using callbacks, Promises, and async/await. 1. Using Callbacks A callback is a function passed as an argument to another function, which is then executed after some operation completes....Discussasynchronous JavaScript
Stanley Owarietaday3-of-30days-js-blog.hashnode.dev·Oct 30, 2024🚀 Day 11 of #30DaysOfJavaScript: Understanding Promises in JavaScriptWelcome to Day 11! Today, we’re diving into a fundamental concept in JavaScript’s approach to handling asynchronous operations: Promises. If you’ve ever been stumped by complex asynchronous code, understanding promises will be your gateway to more re...Discuss·10 likesJavaScript
Yasin Sarkaryasinsarkar.hashnode.dev·Oct 22, 2024🚀 Understanding JavaScript’s Callbacks, Promises, and Async/Await: A Guide to Asynchronous Programming 💻JavaScript, by design, is a single-threaded language 🧵. This means it can only execute one task at a time. However, many modern applications require operations like network requests 🌐, file handling 📁, or database queries 🗄️, which can take time ...Discuss·31 readsJavaScript
Pradeep Thapapradeepwrites.hashnode.dev·Sep 28, 2024Understanding the Event Loop: The Hidden Mechanism Behind JavaScript's MagicJavaScript is often described as a single-threaded language, but it manages to handle tasks like fetching data from servers, updating the UI, and responding to user events seamlessly without blocking or freezing. This is made possible by a magical co...DiscussJavaScript