Abhijeet Karmakarabhijeet15.hashnode.dev·Jul 22, 2024Asynchronous JavaScriptAsynchronous JavaScript JavaScript Code Execution JavaScript engines consist of two main components: the heap and the function call stack. Additionally, there is a callback queue, a microtask queue, web APIs/Node APIs, and the event loop. When JavaSc...Discussasynchronous
Shreeyog Gaikwadshreeyogblogs.hashnode.dev·Jul 22, 2024Conquering Callback Hell in JavaScript : Strategies and SolutionsJavaScript is a versatile and powerful language, but as projects grow in complexity, managing asynchronous code can become a nightmare. This issue, often referred to as "callback hell," can make code difficult to read, maintain, and debug. In this bl...DiscussJavascriptWeb Development
Keshav AforJavaScript Asynchronous Programingjavascriptasync.hashnode.dev·Jul 20, 2024Asynchronous ProgramingAsynchronous Programming allows to perform tasks that takes time to execute (such as fetching data from a server or reading files) without blocking the execution of other code. Instead of waiting for a task to complete, the code moves on to other tas...DiscussJavaScript
SAHIL GURIAsahilguria.hashnode.dev·Jul 20, 2024Understanding JavaScript Execution: Sync vs Async Code, Promises, and the Event LoopUnderstanding JavaScript Execution, Async Code, and Promises JavaScript is a single-threaded language, which means it can only execute one task at a time. But, how does it handle multiple tasks concurrently? In this post, we'll dive into how JavaScri...DiscussJavaScript
Genish Prakashgenishprakash.hashnode.dev·Jul 20, 2024Asynchronous JavaScriptJavaScript is a single-threaded synchronous language. It allows only a single task to be executed at a time. To solve this issue, asynchronous JavaScript comes into play. Asynchronous JavaScript allows you to perform tasks without blocking the main t...DiscussJavaScript
Urvashi Nigamtechieurvashi.hashnode.dev·Jul 18, 2024Understanding Callback Execution Order and Avoiding Infinite Loops in Ruby on RailsWhen working with callbacks in Ruby on Rails, understanding their execution order and how to avoid pitfalls like infinite loops is crucial. Let's delve into an example to illustrate these concepts! 🚀The Problem: Callbacks and Infinite Loops 🔄 Consi...Discuss·12 likescallback
Vashishth Gajjarvashtech.hashnode.dev·Jul 13, 2024Chapter 5: Advanced Array Methods and Object ManipulationWelcome back to "Mastering JavaScript"! In Chapter 4, we explored the basics of objects and arrays, and essential data structures in JavaScript. Now, let's dive deeper into advanced array methods and object manipulation techniques. 5.1 Advanced Array...DiscussMastering JavaScriptJavaScript
Animesh Kumaranimeshk.hashnode.dev·Jul 7, 2024Understanding React HooksReact Hooks are a powerful feature that allows you to use state and other React features without writing a class. Introduced in React 16.8, hooks have changed how we write React applications by making code simpler and more readable. In this blog, we ...Discuss·10 likesReact
Bhavesh Jadhavbhaveshjadhav.online·Jul 1, 2024FeaturedAsynchronous JavaScript and Event Loops: Unleashing the Superpowers of BrowsersIntroduction to Browser Capabilities Browser is one of the most remarkable creations in the history of mankind. Browsers have the JS engine inside them and they also have the local storage to store some data. They have a timer as well which you can a...Maruf Hossen and 1 other are discussing this2 people are discussing thisDiscuss·52 likes·1.2K readsJavascript BasicsJavaScript
Baby baby.hashnode.dev·Jul 1, 2024More on Components and stateLet's go deep into the state of an object. setState() object syntax In previous exercises, we developed web pages where the change of a state depends on the previous state. What if you want to set the state to specific values? 🎯 You can find previo...Discuss·1 likeReact JSReact