Tagged articles
106 articles
Page 2 of 2
Node Underground
Node Underground
Sep 7, 2016 · Fundamentals

3 Proven Bluebird Promise Performance Hacks Every JavaScript Developer Should Know

This article highlights three of the most valuable performance optimization techniques used in the widely adopted Bluebird Promise library—minimizing function object allocation, reducing object size, and employing lazy‑overwritten no‑op functions—to help developers write faster, more efficient JavaScript code.

BluebirdJavaScriptPromise
0 likes · 2 min read
3 Proven Bluebird Promise Performance Hacks Every JavaScript Developer Should Know
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 5, 2016 · Frontend Development

Mastering JavaScript Promises: Common Pitfalls and Best Practices

This article explains the fundamentals of JavaScript Promises, illustrates typical mistakes such as callback pyramids and missing returns, and demonstrates proper usage of chaining, Promise.all, resolve variations, error handling with catch, and state propagation to write clean, maintainable asynchronous code.

AsynchronousError HandlingJavaScript
0 likes · 23 min read
Mastering JavaScript Promises: Common Pitfalls and Best Practices
Aotu Lab
Aotu Lab
Jan 13, 2016 · Frontend Development

Mastering JavaScript Promises: From Basics to Advanced Patterns

This article introduces JavaScript Promises, covers their history, demonstrates how to promisify callbacks, use Promise.all for parallel tasks, chain with then, handle execution order, and implement custom cancellation, providing clear code examples and best‑practice guidance.

AsyncJavaScriptPromise
0 likes · 9 min read
Mastering JavaScript Promises: From Basics to Advanced Patterns