MaoDou Frontend Team
Author

MaoDou Frontend Team

Open-source, innovative, collaborative, win‑win – sharing frontend tech and shaping its future.

38
Articles
0
Likes
35
Views
0
Comments
Recent Articles

Latest from MaoDou Frontend Team

38 recent articles
MaoDou Frontend Team
MaoDou Frontend Team
Jun 19, 2019 · Fundamentals

Why HTTP/2 Matters: Key Features and Performance Boosts Explained

HTTP/2, the first major update to HTTP since 1.1, introduces binary framing, multiplexing, server push, and header compression, dramatically improving web performance by reducing latency, consolidating connections, and optimizing resource delivery, as detailed in this comprehensive overview.

Binary FramingHTTP/2Header Compression
0 likes · 6 min read
Why HTTP/2 Matters: Key Features and Performance Boosts Explained
MaoDou Frontend Team
MaoDou Frontend Team
Jun 18, 2019 · Frontend Development

How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics

Discover how a playful setTimeout‑based sorting trick leverages JavaScript’s event loop to produce correct ordering, while explaining the core concepts of synchronous vs asynchronous tasks, the execution stack, task queue, and why this method isn’t practical for large datasets.

AsynchronousEvent LoopJavaScript
0 likes · 6 min read
How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics
MaoDou Frontend Team
MaoDou Frontend Team
May 21, 2019 · Fundamentals

Mastering the Composite Pattern: Tree Structures and Real‑World Examples

This article explains the Composite design pattern, detailing its definition, benefits, and implementation through JavaScript examples such as a startup command sequence and an employee‑department hierarchy, while highlighting key considerations, common pitfalls, and best practices for effective use.

Tree Structurecomposite patternsoftware architecture
0 likes · 9 min read
Mastering the Composite Pattern: Tree Structures and Real‑World Examples
MaoDou Frontend Team
MaoDou Frontend Team
May 20, 2019 · Frontend Development

Mastering React Hooks: Practical Guide, Patterns, and Performance Tips

This article explains React Hooks introduced in version 16.8, their backward‑compatible design, how they replace class components, and provides detailed guidance on using useState, useEffect, custom hooks, useReducer, useRef, useMemo, useCallback, and related linting rules with performance‑focused examples.

JavaScriptReacthooks
0 likes · 16 min read
Mastering React Hooks: Practical Guide, Patterns, and Performance Tips
MaoDou Frontend Team
MaoDou Frontend Team
Apr 28, 2019 · Frontend Development

How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations

This article explains what an Abstract Syntax Tree (AST) is, its role in JavaScript tooling such as Babel, UglifyJS, and type checking, details the lexical and syntactic analysis stages of AST generation, and demonstrates a practical Babel plugin example that modifies console output using visitors.

ASTJavaScriptParsing
0 likes · 6 min read
How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations