Mayursinh Parmarmayursinhdevblog.hashnode.dev·Apr 29, 2024Topic: 7 Understanding async, await, and async*Hello devs, Today, we're going to explore the world of async, await, and async*. These are super important when you're dealing with APIs. We'll dive deep into how these asynchronous programming tools work and how they can make your code more efficien...DiscussLearn Flutter: Basic to AdvanceFlutter
sujithamypersonalblog.hashnode.dev·Apr 27, 2024How do you handle asynchronous operations in JS?Asynchronous operations (eg. fetching data from an API) In JavaScript, you can handle asynchronous operations, such as fetching data from an API, using promises or async/ await syntax. Heres how you can do it: Using Promises: function fetchData() { r...DiscussJavaScript
Atanu Sarkardisciple.hashnode.dev·Apr 26, 2024The Timer is set. Now what?The following piece covers the basics of "timers" in JS. One can view it as a baby step towards async programming. Enjoy 🤗 Time out The setTimeout() function's purpose is to postpone the call to a function (callback), with the delay specified in mil...DiscussJavaScript
Gabriele Buffolinobite-sized.hashnode.dev·Apr 26, 2024The deferred Promise antipatternHave you ever heard about deferred Promise? If you are a seasoned Javascript developer like me, I bet you did. If it's not the case, then you're lucky! Back at the time when I had to migrate a huge codebase from Q promises to ES6 promises, such codeb...Discusspromises
Oluwafemi Akindesirphemmiey.hashnode.dev·Apr 22, 2024The Beacon API: Enhancing Web Performance with Background Data TransmissionWe all know that sending data from a client to a server, especially as a web page is closing, is essential. This article explains how Beacon API makes this easy - a web standard designed to send small bits of data to the server without slowing down t...DiscussBackground Data Transmission
Parikshith Jparikshith.hashnode.dev·Apr 22, 2024Async JavascriptAsync JS How JS executes the code? Javascript is a single-threaded programming language, meaning it can execute one task at a time. This single thread of execution is managed by Javascript engine, which follows a specific execution model: Reasons wh...DiscussJavaScript
Ankit kumarankitbhardwaj.hashnode.dev·Apr 22, 2024Asynchronous JavascriptIn the field of web development, asynchronous JavaScript (JS) is the cornerstone of building responsive and efficient applications. Understanding the concept of asynchronous programming is crucial for developers to leverage the full potential of JS. ...DiscussJavaScript
Savneet Kaursavneet.hashnode.dev·Apr 20, 2024Exploring the Concept of Asynchronous JavaScriptHow does JavaScript execute the code? JavaScript is a single-threaded programming language. This means that it can execute only one piece of code at a time. Therefore, if a long-running operation is executing, it will block the execution of any other...DiscussJavaScript
Gaurav Aggarwalaggarwalgaurav1012.hashnode.dev·Apr 20, 2024Asynchronous JavaScriptAsynchronous programming is an essential concept in JavaScript that allows your code to run in the background without blocking the execution of other code. Developers can create more efficient and responsive applications by using features like callba...Discussasynchronous
bhanu Prakashbhanuprakash1575.hashnode.dev·Apr 20, 2024All About Asynchronous JavaScriptHow does JS execute the code? JavaScript uses a single-threaded execution model. This means it can only execute one line of code at a time. However, it can handle asynchronous operations as well Here's a simplified view of JS execution: Call Stack...DiscussJavaScript