Tag

Promises

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 21, 2024 · Frontend Development

Understanding the New “use” Hook in React 19 and Its Impact on UI Development

This article introduces React 19’s new use hook that reduces reliance on useEffect, explains how to work with resolved promises, demonstrates conditional usage and integration with Suspense through detailed code examples, and discusses practical considerations when using the hook in modern frontend projects.

JavaScriptPromisesReact19
0 likes · 9 min read
Understanding the New “use” Hook in React 19 and Its Impact on UI Development
Code Mala Tang
Code Mala Tang
Sep 3, 2024 · Backend Development

Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns

This article explains how async/await simplifies callback and Promise code in Node.js, covering async function basics, error handling, retry strategies, parallel execution, array iteration pitfalls, and step‑by‑step refactoring of callback‑ and Promise‑based applications into clear, maintainable async/await code.

Async/AwaitJavaScriptNode.js
0 likes · 17 min read
Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns
37 Interactive Technology Team
37 Interactive Technology Team
Feb 21, 2024 · Fundamentals

Deconstructing Asynchronous Programming

The article breaks down modern asynchronous programming by examining four core models—callbacks, Promises, reactive observer patterns, and message‑driven architectures—explaining their mechanics, pros and cons, and providing JavaScript/Dart examples and system diagrams to help developers master non‑blocking concurrency.

Async/AwaitAsynchronous ProgrammingCallbacks
0 likes · 26 min read
Deconstructing Asynchronous Programming
php中文网 Courses
php中文网 Courses
Apr 14, 2022 · Frontend Development

Common ES6 Pitfalls and Improvements: A Leader’s Code Review Rants

The article presents a series of JavaScript ES6 code‑review critiques, explaining why older ES5 patterns are problematic and demonstrating modern ES6 alternatives such as destructuring, spread operators, template literals, optional chaining, async/await, and array methods with clear code examples.

Array MethodsAsync/AwaitCode Review
0 likes · 8 min read
Common ES6 Pitfalls and Improvements: A Leader’s Code Review Rants
Qunar Tech Salon
Qunar Tech Salon
Dec 5, 2019 · Frontend Development

Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features

This article traces JavaScript’s evolution, covering the enrichment of prototype methods, standardization of classes and modules, the rise of asynchronous patterns like callbacks, promises, generators, async/await, and modern syntax features such as block scope, symbols, BigInt, reflection, and useful syntactic sugar.

BIGINTES6Generators
0 likes · 28 min read
Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features
vivo Internet Technology
vivo Internet Technology
Sep 4, 2019 · Fundamentals

Exploring Functional Programming: Concepts and Practical Applications

The article surveys functional programming fundamentals—contrasting it with imperative and declarative styles—and illustrates key concepts such as closures, currying, promises, partial functions, map/reduce, and divmod through Java, JavaScript, and Python examples, before highlighting Scala’s hybrid approach and the advantages of FP for writing elegant, maintainable, concurrent code.

ClosuresCurryingFunctional Programming
0 likes · 12 min read
Exploring Functional Programming: Concepts and Practical Applications