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
Himanshu Bhartihimanshubharti.hashnode.dev·Apr 5, 2024Explain Synchronous and Asynchronous Transmission with examples. Mention advantages, disadvantages and difference between them.Synchronous Transmission : In synchronous transmission data is sent in form of blocks or frames. Synchronous transmission is the full-duplex type transmission. Synchronization between sender and receiver is compulsory. There is no gap present bet...Discuss·1 likeSynchronous vs Asynchronous
Tiffany KanyingiforHojaLeaks Coding Tutorialshojaleaks.com·Apr 5, 2024Understanding Event Loops in JavaScriptThe Event loop constantly monitors the state of the call stack and the callback queue. If the stack is empty, it will grab a callback from the callback queue and put it onto the call stack, scheduling it for execution. The Call Stack keeps track of w...Discuss·40 readsJavaScript 101JavaScript
Ben Orloffblog.benorloff.co·Apr 4, 2024Debounce Form Inputs with React Hook FormIntro First of all, what exactly does debouncing mean? Debouncing is a programming practice used to ensure that time-consuming tasks do not fire so often, that it stalls the performance of the web page. In other words, it limits the rate at which a ...Discuss·29 readsBuild a Multi-Step Form in Next.jsNext.js
Ben Orloffblog.benorloff.co·Apr 3, 2024Async Form Validation with Zod & React Hook FormThis post is a continuation of my series on building forms in Next.js. If you'd like to follow along, feel free to check out Create Your First Next.js App and Create a Form with React Hook Form & Next.js The Validation Schema Since we're using Zod to...Discuss·51 readsBuild a Multi-Step Form in Next.jsNext.js
Jinali Ghogharijinali.hashnode.dev·Apr 3, 2024Dart Concurrency: Asynchronous programmingStreams Streams in Dart represent sequences of asynchronous data or events. They provide a way to handle data as it becomes available, rather than waiting for all data to be present before processing it. Using a Stream: Using a Stream: Creating and ...DiscussDartDart
Jinali Ghogharijinali.hashnode.dev·Apr 3, 2024Dart Concurrency: Asynchronous programmingAsynchronous programming in Dart involves executing tasks concurrently, without waiting for each task to finish before starting the next one. This is useful for tasks like fetching data from a server, where waiting for a response would block the prog...DiscussDartDart