---
title: "#promises-in-javascript articles | Hashnode"
description: "Explore 44 articles tagged #promises-in-javascript on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/promises-in-javascript"
---

Tag

# #promises-in-javascript

44 posts · 1 followers

[Ayush Jain](https://hashnode.com/@ayushjjainn) · [Aug 23](https://hashnode.com/posts/async-code-in-node-js/6a8b30d59125672455ca576f)

### [Async Code in Node.js: Callbacks and Promises](https://ayushjjainn.hashnode.dev/async-code-in-node-js?utm_source=hashnode&utm_medium=feed)

Last week me and my four friends had a meeting fixed at CCD, one in the afternoon. We are building a project together and this was not some casual timepass meet, this one actually mattered. We could n

14 min read · [ayushjjainn.hashnode.dev](https://ayushjjainn.hashnode.dev/async-code-in-node-js?utm_source=hashnode&utm_medium=feed)

[Kanishka Shashi](https://hashnode.com/@Kshashi22) · [Jul 27](https://hashnode.com/posts/the-restaurant-that-runs-on-promises-a-javascript-love-story/6a67c0ad04b85b54809b5428)

### [The Restaurant That Runs on Promises: A JavaScript Love Story](https://javasblog.hashnode.dev/the-restaurant-that-runs-on-promises-a-javascript-love-story?utm_source=hashnode&utm_medium=feed)

A Quick Story Before We Begin Imagine you walk into a restaurant called Café Async. You sit down, and the waiter says: "I promise your food will arrive. It might come out perfectly cooked, or the kit

8 min read · [javasblog.hashnode.dev](https://javasblog.hashnode.dev/the-restaurant-that-runs-on-promises-a-javascript-love-story?utm_source=hashnode&utm_medium=feed)

[Vikaskumar](https://hashnode.com/@vikaskumarpandey) · [Jul 17](https://hashnode.com/posts/lwc-deep-dive-refreshapex-in-lwc-how-to-refresh-wired-data-after-dml-with-real-examples/6a5eda033e01703887896918)

### [⚡LWC Deep Dive: refreshApex in LWC: How to Refresh Wired Data After DML (With Real Examples)](https://vikaskumarpandey.hashnode.dev/lwc-deep-dive-refreshapex-in-lwc-how-to-refresh-wired-data-after-dml-with-real-examples?utm_source=hashnode&utm_medium=feed)

Learn refreshApex in LWC — refresh wired data after delete/update, Promise.allSettled vs Promise.all, and bulk Apex updates, explained.

12 min read · [vikaskumarpandey.hashnode.dev](https://vikaskumarpandey.hashnode.dev/lwc-deep-dive-refreshapex-in-lwc-how-to-refresh-wired-data-after-dml-with-real-examples?utm_source=hashnode&utm_medium=feed)

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd) · [May 11](https://hashnode.com/posts/javascript-promises-explained-for-beginners/6a01a967fca21b0d4bfcc45f)

### [JavaScript Promises Explained for Beginners](https://kushagrablogs.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)

Before Promises, async code in JavaScript meant callbacks. And callbacks worked — until they didn't. getUser(id, function(user) { getPosts(user.id, function(posts) { getComments(posts\[0\].id, fun

4 min read · [kushagrablogs.hashnode.dev](https://kushagrablogs.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)

[VISHAL RAY](https://hashnode.com/@rayvishal) · [May 10](https://hashnode.com/posts/javascript-promises-explained-for-beginners/6a008da9e3eebc2e208661b9)

### [JavaScript Promises Explained for Beginners](https://rayvishal.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)

Promise in common in javascript, and intially look little bit confusing , but no worry in this blog we understand with example.

1 min read · [rayvishal.hashnode.dev](https://rayvishal.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)

[Abhishek Yadav](https://hashnode.com/@abishekyadav) · [May 10](https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/6a000ea2e3eebc2e203140f6)

### [Async Code in Node.js: Callbacks and Promises](https://terminal-thoughts.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

Imagine you are running a high-end restaurant with a unique constraint: you only have one waiter. In a traditional "synchronous" restaurant, that waiter would take an order, walk to the kitchen, and s

5 min read · [terminal-thoughts.hashnode.dev](https://terminal-thoughts.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

[Gagan Sharma](https://hashnode.com/@GaganSharmaGit) · [May 10](https://hashnode.com/posts/understanding-promises-in-javascript/69fffb43e3eebc2e2026aae4)

### [Understanding Promises in JavaScript](https://javascript-promises-explain.hashnode.dev/understanding-promises-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn how promises work in JavaScript, promise states, lifecycle, success and failure handling.

6 min read · [javascript-promises-explain.hashnode.dev](https://javascript-promises-explain.hashnode.dev/understanding-promises-in-javascript?utm_source=hashnode&utm_medium=feed)

[Souparna Dhara](https://hashnode.com/@SouparnaD2004) · [May 9](https://hashnode.com/posts/javascript-promises-explained-for-beginners-say-goodbye-to-callback-hell/69ff6799f239332df4d6eabf)

### [JavaScript Promises Explained for Beginners: Say Goodbye to Callback Hell](https://souparna-tech.hashnode.dev/javascript-promises-explained-for-beginners-say-goodbye-to-callback-hell?utm_source=hashnode&utm_medium=feed)

Learn about promises in javascript

6 min read · [souparna-tech.hashnode.dev](https://souparna-tech.hashnode.dev/javascript-promises-explained-for-beginners-say-goodbye-to-callback-hell?utm_source=hashnode&utm_medium=feed)

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd) · [May 9](https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/69ff2ba1f239332df4aaa2b2)

### [Async Code in Node.js: Callbacks and Promises](https://kushagrablogs.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

Topics to Cover Why async code exists in Node.js Callback-based async execution Problems with nested callbacks Promise-based async handling Benefits of promises Why async code exists in Node.js

3 min read · [kushagrablogs.hashnode.dev](https://kushagrablogs.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

[Santra](https://hashnode.com/@Santra) · [May 9](https://hashnode.com/posts/javascript-promises-explained-for-beginners/69ff09a2bd75d85c4b545b0f)

### [JavaScript Promises Explained for Beginners](https://blog-santra.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)

Callbacks work. But as soon as one async operation depends on another, they start nesting and the deeper they go, the harder the code is to read, debug, and maintain. Promises were introduced to fix e

4 min read · [blog-santra.hashnode.dev](https://blog-santra.hashnode.dev/javascript-promises-explained-for-beginners?utm_source=hashnode&utm_medium=feed)
