Promises in JavaScriptPromise is an another way of handling asynchronous operations in JavaScript and they are much better than Callbacks. As we studied in the previous article that callbacks have two major problems Callback Hell and Inversion of Control. Using Promises c...Feb 1, 2025 · 10 min readtechstack-tales.hashnode.dev
Understanding Redux: A Complete Guide to State ManagementWhat is Redux ? Redux is a state management library for JavaScript applications, widely used with React. It helps manage and centralize the application’s state, making state updates predictable and easier to debug, especially in large or complex appl...Jan 24, 2025 · 8 min readtechstack-tales.hashnode.dev
Callbacks in JavaScriptAs we know that JavaScript Engine has just a single call stack which means that it can execute one statement at a time and executes it immediately and does not wait for anything. But if we really need to wait for sometime before executing the further...Jan 24, 2025 · 3 min readtechstack-tales.hashnode.dev
Working of JavaScript EnginesAs we know that JavaScript is a single threaded language and has only one call stack which means that it can perform a single task at a time. This call stack is present inside the JavaScript Engine and all the code of JavaScript is executed inside th...Jan 23, 2025 · 9 min readtechstack-tales.hashnode.dev
Closures, Functions & Event Listener in JavaScriptClosures Let’s see a code snippet first function x(){ var a = 7; function y(){ console.log(a); } y(); } x(); When we will run this program we know that the output is going to be 7 because when we are trying to access a from t...Jan 21, 2025 · 5 min readtechstack-tales.hashnode.dev