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
Ankita Sharmacodecraftbyankita.hashnode.dev·Apr 19, 2024Workers in JavaScriptIntroduction JavaScript, often celebrated for its simplicity, surprises many with its single-threaded nature, seemingly limiting its ability to handle complex tasks efficiently. However, it has a hidden concurrency solutions. What are those solutions...Discussworkers
bhanu Prakashbhanuprakash1575.hashnode.dev·Apr 16, 2024Higher Order Function, Callbacks, and Callback Hell in JavaScript.In programming, functions are fundamental building blocks. But in JavaScript functions could not only perform their own task but also work with other functions. Higher-order functions and callbacks are powerful concepts for asynchronous programming i...DiscussJavaScript
Ugne Adomaityteugneadomaityte.hashnode.dev·Apr 15, 2024Understanding async/await in JavaScriptIn the landscape of modern JavaScript, managing asynchronous operations has evolved from callback functions and promises to a more elegant syntax known as async/await. Introduced in ECMAScript 2017, this syntactic sugar built atop promises has revolu...DiscussJavaScript
Devajit Patarpatar.hashnode.dev·Apr 13, 2024Difference Between viewLifecycleOwner.lifecycleScope.launch, lifecycle.coroutineScope.launch, lifecycle.coroutineScope.launchWhenCreatedThese three functions are related to managing coroutines within the context of Android's Lifecycle library. Let's break down each one and understand their differences: viewLifecycleOwner.lifecycleScope.launch: This function launches a coroutine with...DiscussAndroid