Tagged articles

JavaScript

2473 articles · Page 20 of 25
Didi Tech
Didi Tech
Oct 8, 2019 · Frontend Development

Understanding Webpack Module Creation: Stages and Dependency Handling

Webpack transforms entry files into modules through four stages—create, add, build, and processDep—where it generates a module instance via factory hooks, registers it in the compilation, runs loaders and parses the source into an AST, groups and resolves dependencies, and finally prepares the modules for bundling.

Build ProcessJavaScriptdependency
0 likes · 18 min read
Understanding Webpack Module Creation: Stages and Dependency Handling
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 27, 2019 · Frontend Development

Understanding the React Node Desktop (RND) Architecture and React Fiber Implementation

The article explains how React Node Desktop (RND) combines React JS, Node.js, and a native UI engine to enable lightweight, cross‑platform desktop apps, then details React Fiber’s architecture—its tagging, workloop, update and commit phases—and describes RND’s JS‑native messaging, bundle splitting, animation support, and future relevance for JavaScript‑driven desktop UI.

Desktop DevelopmentFiberJavaScript
0 likes · 11 min read
Understanding the React Node Desktop (RND) Architecture and React Fiber Implementation
政采云技术
政采云技术
Sep 25, 2019 · Frontend Development

Understanding Webpack Hot Module Replacement (HMR): Mechanism and Implementation

This article explains how Webpack's Hot Module Replacement works, covering its benefits, the build and watch processes, the role of webpack-dev-middleware and webpack-hot-middleware, and provides detailed code examples to illustrate the communication between the server and the browser.

Hot Module ReplacementJavaScriptWebpack-hot-middleware
0 likes · 10 min read
Understanding Webpack Hot Module Replacement (HMR): Mechanism and Implementation
WecTeam
WecTeam
Sep 20, 2019 · Frontend Development

Six Creative Techniques to Build a Guide Overlay Without Images

This tutorial explains six different approaches—using z-index, opacity, borders, box‑shadow, element cloning, and canvas—to create a guide overlay (mask layer) that highlights specific page areas without relying on image assets, complete with code examples and visual demos.

GuideJavaScriptOverlay
0 likes · 18 min read
Six Creative Techniques to Build a Guide Overlay Without Images
政采云技术
政采云技术
Sep 18, 2019 · Frontend Development

Vue‑Based Image Magnifier Implementation

This article explains how to create a high‑stability image magnifier in Vue by calculating mask positions based on mouse events, moving the background image accordingly, and optimizing performance with initialization checks and scroll handling, providing full source code and usage instructions.

CSSImage MagnifierJavaScript
0 likes · 10 min read
Vue‑Based Image Magnifier Implementation
System Architect Go
System Architect Go
Sep 18, 2019 · Fundamentals

Understanding How JavaScript Works: Optimizing the V8 JIT Compiler

This article explains the three-stage execution process of JavaScript in V8, compares interpreter and compiler approaches, describes how the JIT combines their strengths, and provides practical tips for writing JavaScript that maximizes performance by leveraging V8’s optimization mechanisms.

JITJavaScriptOptimization
0 likes · 6 min read
Understanding How JavaScript Works: Optimizing the V8 JIT Compiler
21CTO
21CTO
Sep 17, 2019 · Frontend Development

Top 5 JavaScript Libraries for Building Interactive Organizational Charts

This article compares five JavaScript diagramming libraries—DHTMLX, JointJS, Rappid, yFiles for HTML, Google Charts, and GetOrgChart—by examining their features, documentation, and user experience to help developers choose the right tool for creating online organizational charts.

Diagram LibraryJavaScriptOrganizational Chart
0 likes · 8 min read
Top 5 JavaScript Libraries for Building Interactive Organizational Charts
WecTeam
WecTeam
Sep 17, 2019 · Frontend Development

How to Make Web Pages Battery‑Friendly: Power‑Saving Tips for Front‑End Developers

This article explains the main factors that drain battery power on mobile and laptop browsers and provides practical front‑end techniques—such as minimizing timers, using CSS animations, leveraging visibility APIs, and optimizing network requests—to keep web pages energy‑efficient and extend user device battery life.

Battery LifeJavaScriptPower Consumption
0 likes · 11 min read
How to Make Web Pages Battery‑Friendly: Power‑Saving Tips for Front‑End Developers
MaoDou Frontend Team
MaoDou Frontend Team
Sep 16, 2019 · Frontend Development

Why Do Chrome and Firefox Sort Arrays Differently? Uncovering Their Algorithms

Although both browsers receive identical data, Chrome and Firefox display sorted results differently due to their distinct underlying sorting algorithms—Firefox uses merge sort while Chrome employs a hybrid of insertion and quick sort—this article explains the issue, demonstrates implementations, and compares performance and optimization techniques.

JavaScriptPerformanceSorting Algorithms
0 likes · 8 min read
Why Do Chrome and Firefox Sort Arrays Differently? Uncovering Their Algorithms
Architects Research Society
Architects Research Society
Sep 16, 2019 · Frontend Development

Comprehensive List of Browser‑Side JavaScript Libraries and Resources

This article provides an extensive, categorized catalog of JavaScript libraries and tools for front‑end development, covering package managers, loaders, bundlers, testing frameworks, UI components, data visualization, storage, internationalization, security, and many other functional areas of modern web programming.

JavaScriptLibrariesResources
0 likes · 37 min read
Comprehensive List of Browser‑Side JavaScript Libraries and Resources
政采云技术
政采云技术
Sep 15, 2019 · Frontend Development

Understanding Babel: How It Works and How to Write a Babel Plugin

This article explains the inner workings of Babel, the JavaScript compiler, outlines what syntax it transpiles versus what requires polyfills, describes its three compilation stages, demonstrates AST generation and tokenization, and provides step‑by‑step examples of creating simple Babel plugins for code transformation.

ASTBabelJavaScript
0 likes · 13 min read
Understanding Babel: How It Works and How to Write a Babel Plugin
WecTeam
WecTeam
Sep 10, 2019 · Frontend Development

Deploy Native JavaScript Modules in Production: Best Practices & Performance Gains

This article explains how modern browsers now support native ES2015 modules, why earlier performance concerns were based on outdated tests, and provides detailed guidance on using Rollup, code‑splitting, dynamic imports, modulepreload, and polyfills to achieve faster, smaller, and future‑proof web applications.

Code SplittingESModulesJavaScript
0 likes · 21 min read
Deploy Native JavaScript Modules in Production: Best Practices & Performance Gains
WecTeam
WecTeam
Sep 6, 2019 · Frontend Development

Mastering AST: Transform JavaScript Code with Babel and Esprima

This article explains how to use AST in JavaScript by introducing three essential components—a parser, a traverser, and a code generator—showcasing practical examples with esprima and Babel to parse, modify, and regenerate code, and exploring advanced use cases such as removing console statements, variable obfuscation, arrow‑function conversion, tree‑shaking, and generating SVG flowcharts, while also highlighting AST applications in other languages.

ASTAST TraversalBabel
0 likes · 11 min read
Mastering AST: Transform JavaScript Code with Babel and Esprima
WecTeam
WecTeam
Sep 3, 2019 · Frontend Development

Why Understanding JavaScript ASTs Is Essential for Modern Frontend Development

Understanding JavaScript's Abstract Syntax Tree (AST) is crucial for modern code analysis, enabling tools like Babel, ESLint, and Webpack to parse, transform, and generate code beyond regex, with a clear process from lexical analysis to syntax analysis and standardized specifications such as ESTree.

ASTJavaScriptcode analysis
0 likes · 9 min read
Why Understanding JavaScript ASTs Is Essential for Modern Frontend Development
WecTeam
WecTeam
Aug 30, 2019 · Game Development

Mastering 2D Collision Detection: Vectors, AABB, OBB, and JavaScript Implementations

This article explains how to use simple shapes like circles and rectangles for fast 2D collision detection, reviews vector mathematics, provides a reusable Vector2d class with operations such as addition, subtraction, length, dot product and rotation, and shows concrete JavaScript code for circle‑circle, circle‑rectangle (both axis‑aligned and rotated) and rectangle‑rectangle collisions using AABB and OBB techniques.

2D GameAABBCollision Detection
0 likes · 19 min read
Mastering 2D Collision Detection: Vectors, AABB, OBB, and JavaScript Implementations
Didi Tech
Didi Tech
Aug 24, 2019 · Frontend Development

Webpack Loader Execution Process: Detailed Source Code Analysis

The article details Webpack’s loader execution pipeline, showing how a shared loaderContext is built for each module, how the loader‑runner pitches loaders in order, then processes the resource and runs each loader’s normal method from right to left, handling synchronous, Promise‑based, and async callbacks via runSyncOrAsync.

JavaScriptNode.jsasync
0 likes · 14 min read
Webpack Loader Execution Process: Detailed Source Code Analysis
Qunar Tech Salon
Qunar Tech Salon
Aug 23, 2019 · Frontend Development

Web Components: Can Native Custom Elements Replace Frontend Frameworks?

This article explains how modern Web Components—custom elements, Shadow DOM, slots, and native element extensions—provide a framework‑free way to build reusable UI, offering better performance, true CSS scoping, and progressive enhancement while discussing when abandoning traditional frameworks makes sense.

JavaScriptShadow DOMcustom elements
0 likes · 26 min read
Web Components: Can Native Custom Elements Replace Frontend Frameworks?
政采云技术
政采云技术
Aug 20, 2019 · Frontend Development

JavaScript Objects, Prototypes, and Inheritance Explained

This article provides a comprehensive guide to JavaScript’s object model, covering object literals, constructor functions, prototype inheritance, prototype chains, and practical coding patterns, illustrating how to create, extend, and manage objects efficiently in modern frontend development.

JavaScriptObjectsinheritance
0 likes · 41 min read
JavaScript Objects, Prototypes, and Inheritance Explained
政采云技术
政采云技术
Aug 20, 2019 · Frontend Development

Why JavaScript Is Prototypal: Mastering Objects, Constructors, and Inheritance

This article explains JavaScript’s object model, contrasting class‑based and prototype‑based paradigms, and shows how to create objects with literals, constructor functions, and prototypes, covering property access, method sharing, inheritance, the prototype chain, __proto__, and Object.create for clean, maintainable code.

Constructor FunctionsJavaScriptObjects
0 likes · 42 min read
Why JavaScript Is Prototypal: Mastering Objects, Constructors, and Inheritance
58 Tech
58 Tech
Aug 20, 2019 · Frontend Development

Architecture Design of a Front-End Monitoring Platform

This article describes the design and architecture of a front‑end monitoring platform, detailing its JS SDK, data analyzer, web UI, reference log‑collection architectures, use of Kafka, MySQL, Hive and HBase, scaling considerations, storage conventions, and operational best practices.

JavaScriptLoggingfrontend
0 likes · 8 min read
Architecture Design of a Front-End Monitoring Platform
Didi Tech
Didi Tech
Aug 17, 2019 · Frontend Development

Webpack Loader Configuration and Matching Rules – Detailed Explanation

The article explains Webpack loader configuration by detailing rule definitions, inline loader syntax, the symbols that control loader inclusion, the internal parsing and matching process that groups pre, normal, and post loaders, and practical tips for ordering and debugging complex builds.

Build ToolsConfigurationJavaScript
0 likes · 9 min read
Webpack Loader Configuration and Matching Rules – Detailed Explanation
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 16, 2019 · Frontend Development

RND (React Node Desktop): Architecture, Thread Model, JS Runtime, Bridge, Resource Management, and Debugging

RND (React Node Desktop) is a lightweight cross‑platform desktop framework that merges a React‑based JavaScript layer, an embedded V8‑powered Node runtime, and a native UI engine (Lyra with Yoga layout), employing a dual‑thread model, shared V8 isolate, asynchronous bridge, modular resource handling with hot‑update, and integrated Chrome/VSCode/Electron debugging.

JavaScriptRNDReact Node Desktop
0 likes · 14 min read
RND (React Node Desktop): Architecture, Thread Model, JS Runtime, Bridge, Resource Management, and Debugging
Qunar Tech Salon
Qunar Tech Salon
Aug 8, 2019 · Frontend Development

Understanding Design Patterns in JavaScript

This article explains why and how to use various JavaScript design patterns—such as module, revealing module, ES6 modules, singleton, factory, and decorator—by describing their purpose, benefits, and providing clear code examples while warning against over‑use.

Design PatternsJavaScriptModule Pattern
0 likes · 14 min read
Understanding Design Patterns in JavaScript
Sohu Tech Products
Sohu Tech Products
Aug 7, 2019 · Frontend Development

Understanding JavaScript Promises: Concepts, API, and Practical Examples

This article explains JavaScript Promises, covering their purpose in avoiding callback hell, the core API (constructor, then, catch, static methods), practical code examples, chaining behavior, comparison with callbacks and async/await, and even a custom implementation, providing a comprehensive guide for frontend developers.

AsynchronousJavaScriptPromise
0 likes · 25 min read
Understanding JavaScript Promises: Concepts, API, and Practical Examples
21CTO
21CTO
Aug 4, 2019 · Frontend Development

What’s New in Electron 6.0? Exploring the Latest Promise Features and API Updates

Electron 6.0, the newest stable release, brings Chromium 76, Node.js 12.4, V8 7.6, enhanced Promise support, async dialog APIs, new shell.showItemInFolder, and numerous API improvements such as excludedFromShownWindowsMenu, all_frames support, Linux preview, Touch ID, and more, all installable via npm.

APIElectronJavaScript
0 likes · 4 min read
What’s New in Electron 6.0? Exploring the Latest Promise Features and API Updates
Didi Tech
Didi Tech
Aug 2, 2019 · Frontend Development

Understanding Webpack's Resolve Process for Modules and Loaders

Webpack resolves every import by mapping the request string to an exact file path through a configurable chain of resolver plugins for normal modules, node_modules packages, and loaders, and developers can speed up builds by using aliases, limiting module directories, and keeping extensions short.

Build ToolJavaScriptOptimization
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
Meituan Technology Team
Meituan Technology Team
Aug 1, 2019 · Frontend Development

Scalable ESLint-Based JavaScript Code Standardization for Large Front‑end Teams

The article presents a scalable ESLint‑based framework for large front‑end teams that combines a layered, unified rule configuration, CI/CD and pre‑commit lint checks, a one‑click onboarding CLI, and automated metrics collection with dashboards, enabling consistent code standards across diverse projects while reducing maintenance overhead.

AutomationESLintFront-end
0 likes · 20 min read
Scalable ESLint-Based JavaScript Code Standardization for Large Front‑end Teams
AutoHome Frontend
AutoHome Frontend
Aug 1, 2019 · Frontend Development

8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)

This article reveals eight lesser‑known DOM and Web API features—such as addEventListener options, smooth scrollTo, optional timer arguments, defaultChecked, normalize/wholeText, insertAdjacent methods, event.detail, and scrollHeight/scrollWidth—explaining their purpose, browser support, and providing practical code examples.

DOMJavaScriptWeb API
0 likes · 17 min read
8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)
Seewo Tech Circle
Seewo Tech Circle
Jul 30, 2019 · Frontend Development

Create Smooth Parabolic Drop Animations with Dynamic Blur in JavaScript

This article explains how to calculate object positions using a parabolic formula, generate multiple translucent shadows to simulate motion blur, and implement the entire effect with JavaScript, covering parameter selection, acceleration calculations, and practical code examples for smooth front‑end animations.

JavaScriptanimationdynamic blur
0 likes · 11 min read
Create Smooth Parabolic Drop Animations with Dynamic Blur in JavaScript
Didi Tech
Didi Tech
Jul 13, 2019 · Frontend Development

Unlocking Webpack’s Tapable: How Hooks Power Efficient Builds

This article explains the inner workings of Tapable—the hook library behind Webpack—by detailing its synchronous and asynchronous hook types, registration and invocation methods, the lazy‑compilation code‑generation process, and how these mechanisms give Webpack a performance edge over naïve event loops.

Build ToolsHooksJavaScript
0 likes · 17 min read
Unlocking Webpack’s Tapable: How Hooks Power Efficient Builds
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 12, 2019 · Fundamentals

Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop

This article explains the evolution of Google V8's Promise implementation, details the JavaScript single‑threaded event loop with macro‑ and micro‑tasks, describes various programming models, and walks through the internal V8 code that realizes Promise construction, chaining, and utility methods such as Promise.all and Promise.race.

JavaScriptPromiseV8
0 likes · 10 min read
Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop
Weidian Tech Team
Weidian Tech Team
Jul 12, 2019 · Fundamentals

Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code

This article explains how the V8 JavaScript engine generates machine code for floating‑point addition on Intel x64, covering V8’s architecture, the IEEE‑754 representation that causes precision loss, and a step‑by‑step analysis of the relevant C++ source and the resulting addsd instruction.

JavaScriptMachine CodeV8
0 likes · 12 min read
Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code
360 Tech Engineering
360 Tech Engineering
Jul 10, 2019 · Frontend Development

The Past, Present, and Future of Front‑End Development Programming Languages

This article reviews the evolution of front‑end programming languages, discusses why extreme attitudes toward language choice hinder productive discussion, explains how platform constraints shape language selection, examines the strengths and weaknesses of JavaScript, Java, and Objective‑C, and predicts increasing convergence and cross‑platform trends among modern front‑end languages.

JavaScriptKotlinProgramming Languages
0 likes · 33 min read
The Past, Present, and Future of Front‑End Development Programming Languages
Didi Tech
Didi Tech
Jul 5, 2019 · Frontend Development

Deep Dive into Webpack: Source Code Analysis and Compilation Process

The article dissects Webpack’s internals, showing how every asset becomes a module processed by loaders, how the bootstrap creates a __webpack_require__ function to link modules, how dynamic import() generates separate chunks loaded via script tags, and outlines the full compilation pipeline from configuration parsing to final asset emission.

JavaScriptModule Bundlingasync loading
0 likes · 12 min read
Deep Dive into Webpack: Source Code Analysis and Compilation Process
Wukong Talks Architecture
Wukong Talks Architecture
Jul 5, 2019 · Game Development

Step-by-Step Guide to Building a Simple WeChat Mini‑Game

This article walks through the background, monetization considerations, and detailed implementation steps—including canvas creation, enemy and player sprites, movement, collision detection, and touch handling—required to develop a basic WeChat mini‑game, with full code snippets and resource links.

JavaScriptMiniGameWeChat
0 likes · 6 min read
Step-by-Step Guide to Building a Simple WeChat Mini‑Game
21CTO
21CTO
Jul 4, 2019 · Mobile Development

How JavaScript Powers a High‑Performance Dynamic Flutter Framework

This article introduces MXFlutter, a JavaScript‑based dynamic framework that enables full‑runtime UI updates for Flutter apps on iOS, explains its architecture, code implementation, performance advantages over Dart VM, and discusses rendering optimizations, memory management, threading, and developer ergonomics.

FlutterJavaScriptPerformance
0 likes · 13 min read
How JavaScript Powers a High‑Performance Dynamic Flutter Framework
vivo Internet Technology
vivo Internet Technology
Jul 3, 2019 · Frontend Development

Common Front-End Error Types and Their Capture Methods

Front‑end monitoring must capture JavaScript runtime errors, resource loading failures, unhandled promise rejections, and asynchronous request issues using window.onerror, error event listeners, unhandledrejection handlers, and fetch/XHR wrappers, while also handling framework‑specific hooks and cross‑origin script restrictions through CORS or manual try‑catch reporting.

JavaScriptWeb PerformanceXHR
0 likes · 11 min read
Common Front-End Error Types and Their Capture Methods
MaoDou Frontend Team
MaoDou Frontend Team
Jul 2, 2019 · Frontend Development

Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns

This article explains JavaScript’s event mechanism, distinguishes macro‑ and micro‑tasks, and provides a comprehensive guide to using Promises—including their states, API methods like then, catch, finally, and utilities such as all, race, with practical code examples and common pitfalls.

JavaScriptPromiseasync
0 likes · 12 min read
Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns
AutoHome Frontend
AutoHome Frontend
Jun 24, 2019 · Frontend Development

Unlock the Power of JavaScript’s reduce: 5 Creative Uses Beyond Simple Summing

This tutorial explores why the .reduce() method feels intimidating, demonstrates its basic usage with addition and multiplication, and then showcases five unconventional applications—including converting arrays to objects, flattening nested arrays, performing dual calculations in a single pass, merging map and filter, and sequencing asynchronous calls—while providing clear code examples and performance considerations.

Functional ProgrammingJavaScriptWeb Development
0 likes · 14 min read
Unlock the Power of JavaScript’s reduce: 5 Creative Uses Beyond Simple Summing
Didi Tech
Didi Tech
Jun 22, 2019 · Mobile Development

Mpx 2.0: An Enhanced Mini‑Program Framework for Cross‑Platform Development

Mpx 2.0 is an enhanced mini‑program framework that provides full cross‑platform support for WeChat, Alipay, Baidu, Toutiao and QQ, enabling developers to compile existing WeChat projects and native components to other platforms while offering sub‑package optimization, conditional compilation, setData efficiency and near‑zero migration effort.

CrossPlatformJavaScriptMiniProgram
0 likes · 16 min read
Mpx 2.0: An Enhanced Mini‑Program Framework for Cross‑Platform Development
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.

AsynchronousJavaScriptSorting Algorithm
0 likes · 6 min read
How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics
MaoDou Frontend Team
MaoDou Frontend Team
Jun 17, 2019 · Frontend Development

Mastering JavaScript Function Parameters: Defaults, Rest, and TDZ Explained

This article explores JavaScript functions as first‑class citizens, detailing how to set default parameter values in ES5 and ES6, the impact on the arguments object, the temporary dead zone for defaults, and the usage and constraints of rest parameters with practical code examples.

Default ValuesFunction ParametersJavaScript
0 likes · 6 min read
Mastering JavaScript Function Parameters: Defaults, Rest, and TDZ Explained
Node Underground
Node Underground
Jun 14, 2019 · Fundamentals

Unlock JavaScript Performance: When and How to Use Bitwise Operators Effectively

This article explains why JavaScript developers often avoid bitwise operators, highlights the specific scenarios where they provide performance and code‑size benefits—such as fast integer conversion with x|0, using ~ for -1 checks, creating bit fields, and leveraging them in databases and BigInt.

JavaScriptPerformancebitwise-operators
0 likes · 7 min read
Unlock JavaScript Performance: When and How to Use Bitwise Operators Effectively
AutoHome Frontend
AutoHome Frontend
Jun 3, 2019 · Frontend Development

Boost JavaScript Type Safety in VS Code with JSDoc Annotations

Learn how to enable static type checking for JavaScript in Visual Studio Code using JSDoc comments, covering configuration, type definitions, generics, type casting, and runtime safeguards to improve code reliability without a separate build step.

JSDocJavaScriptStatic Type Checking
0 likes · 20 min read
Boost JavaScript Type Safety in VS Code with JSDoc Annotations
21CTO
21CTO
May 22, 2019 · Fundamentals

Which Programming Language Should You Learn Next? A Practical Guide

This article reviews the top ten programming languages, explains why learning multiple languages matters, and offers practical advice on choosing the most beneficial language for your career, covering Java, JavaScript, Python, Kotlin, Go, C#, Swift, Rust, PHP, and C/C++.

JavaJavaScriptLearning Guide
0 likes · 8 min read
Which Programming Language Should You Learn Next? A Practical Guide
Baidu App Technology
Baidu App Technology
May 22, 2019 · Frontend Development

San Framework Performance Evolution: A MVVM Framework's Optimization Journey

The article chronicles San, Baidu’s MVVM framework, detailing how template parsing, hotspot pre‑heating, cloneNode element creation, property‑handler caching, traversal interruption, list‑rendering shortcuts like trackBy, and numerous micro‑optimizations such as avoiding call/apply and extra loops collectively boost view creation and update performance.

BaiduJavaScriptMVVM framework
0 likes · 26 min read
San Framework Performance Evolution: A MVVM Framework's Optimization Journey
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.

HooksJavaScriptReAct
0 likes · 16 min read
Mastering React Hooks: Practical Guide, Patterns, and Performance Tips
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

JavaScriptPerformancePromise
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features
21CTO
21CTO
May 2, 2019 · Fundamentals

RedMonk Q1 2019 Rankings: Which Programming Languages Really Lead the Pack?

RedMonk's Q1 2019 language ranking, based on GitHub and Stack Overflow data, reveals JavaScript topping the list, modest shifts among the top 20, and highlights notable moves such as TypeScript's rise and Kotlin's surge into the top‑20.

JavaScriptKotlinProgramming Languages
0 likes · 5 min read
RedMonk Q1 2019 Rankings: Which Programming Languages Really Lead the Pack?
Tencent Cloud Developer
Tencent Cloud Developer
Apr 30, 2019 · Cloud Computing

WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification

This guide walks through building an electronic business card in a WeChat Mini Program with Cloud Development, covering account setup, data CRUD, single‑ and multi‑image upload, AI‑powered OCR, custom QR‑code generation for sharing, and automated template‑message alerts when the card is viewed, demonstrating reduced backend effort.

AI RecognitionElectronic Business CardJavaScript
0 likes · 8 min read
WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification
21CTO
21CTO
Apr 29, 2019 · Frontend Development

Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks

This article reviews ten high‑performance JavaScript chart libraries—amCharts, AnyChart, Chart.js, Chartist.js, D3.js, FusionCharts, Google Charts, Highcharts, Plotly.js, and ZingChart—detailing their main features, pricing models, and where to find documentation, helping developers choose the best tool for their data‑visualisation needs.

JavaScriptWeb Developmentchart libraries
0 likes · 18 min read
Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks
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.

ASTBabelJavaScript
0 likes · 6 min read
How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the fundamentals of AJAX, including its definition, the need for asynchronous communication, how form submissions work, the XMLHttpRequest object methods and properties, jQuery implementations, advantages, disadvantages, and typical application and non‑application scenarios, with complete code examples.

AJAXAsynchronousJavaScript
0 likes · 15 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Wukong Talks Architecture
Wukong Talks Architecture
Apr 25, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the concept of AJAX, why asynchronous communication is needed, how to submit forms and handle server responses using raw XMLHttpRequest and jQuery, compares GET and POST methods, and outlines the benefits, drawbacks, and suitable scenarios for AJAX in web development.

AJAXAsynchronousJavaScript
0 likes · 12 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Mafengwo Technology
Mafengwo Technology
Apr 18, 2019 · Frontend Development

How to Build an Efficient Front‑End Monitoring Data Collection System

This article explains why front‑end monitoring is essential for user experience, outlines the key data types to collect, and provides practical AOP‑based implementations for route changes, JavaScript errors, performance metrics, resource failures, API calls, and reliable log reporting.

AOPData CollectionError Tracking
0 likes · 14 min read
How to Build an Efficient Front‑End Monitoring Data Collection System
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Tencent Cloud Developer
Tencent Cloud Developer
Apr 11, 2019 · Mobile Development

Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development

The guide walks through creating a full‑stack markdown publishing system for a WeChat mini‑program using Cloud Development, detailing project initialization, defining an “article” collection, importing .md files via cloud functions, displaying lists, rendering markdown on detail pages, and debugging cloud functions without a separate backend.

ComiJavaScriptOmi
0 likes · 12 min read
Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development
360 Tech Engineering
360 Tech Engineering
Apr 2, 2019 · Frontend Development

Development Guide for the 360 AI Speaker Official Website

This article details the practical implementation of the 360 AI speaker's landing page, covering screen‑resolution analysis, large‑image rendering choices, responsive rem‑based typography, HTML structure, CSS positioning, custom web‑font integration, and a pure‑CSS sticky‑footer solution, all built under tight time constraints.

CSSHTMLJavaScript
0 likes · 13 min read
Development Guide for the 360 AI Speaker Official Website
Tencent Cloud Developer
Tencent Cloud Developer
Mar 28, 2019 · Mobile Development

Community Mini-Program Feature Implementation Using Cloud Development

The guide shows how to create a WeChat community mini‑program with cloud development that lets users post text and up to six images, implements home, publishing, and personal‑center pages, handles data pagination, image preview and deletion, stores posts in cloud collections, manages user authorization and avatar display, and addresses typical permission and refresh problems.

Image UploadJavaScriptUser Authentication
0 likes · 12 min read
Community Mini-Program Feature Implementation Using Cloud Development
Tencent Music Tech Team
Tencent Music Tech Team
Mar 22, 2019 · Frontend Development

How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues

This article analyzes the challenges of reproducing external‑network bugs, outlines common failure causes, and presents a complete design for a JavaScript SDK that records environment data, AJAX calls, errors, and user actions, stores them in IndexedDB, and visualizes the timeline for efficient troubleshooting.

DebuggingIndexedDBJavaScript
0 likes · 15 min read
How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues
21CTO
21CTO
Mar 14, 2019 · Blockchain

Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases

This article explores blockchain programming fundamentals, compares public and permissioned chains, reviews major development platforms, and evaluates the top five languages—C++, JavaScript, Python, Go, and Solidity—highlighting their strengths, weaknesses, and real‑world blockchain applications.

BlockchainC++DApp
0 likes · 11 min read
Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases
21CTO
21CTO
Mar 1, 2019 · Frontend Development

Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development

The article introduces Tencent’s open‑source Omi framework, a next‑generation frontend solution built on Web Components that enables developers to write code once and deploy it across desktop web, mobile H5, and various mini‑program platforms, highlighting its features, setup commands, debugging tools, and React‑to‑Omi component conversion.

JavaScriptOmifrontend framework
0 likes · 5 min read
Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development
MaoDou Frontend Team
MaoDou Frontend Team
Feb 25, 2019 · Frontend Development

Master JavaScript Promises: From Basics to Advanced API

This article explains what JavaScript Promises are, their immutable states, advantages and drawbacks, details the constructor, instance and static methods, provides code examples, and walks through the source implementations of resolve, reject, all, and race.

APIAsynchronousJavaScript
0 likes · 8 min read
Master JavaScript Promises: From Basics to Advanced API
Tencent Cloud Developer
Tencent Cloud Developer
Feb 20, 2019 · Cloud Computing

WePY and Cloud Development: Practical Guide and Best Practices

The guide explains how to combine WePY’s Vue‑style component model with Tencent Cloud Development—showing project initialization, cloud‑function setup, common pitfalls, and a token‑caching example—so developers can build and launch a full mini‑program in roughly 24 hours while competing for best‑practice prizes.

JavaScriptMini ProgramTencent Cloud
0 likes · 9 min read
WePY and Cloud Development: Practical Guide and Best Practices
UC Tech Team
UC Tech Team
Feb 18, 2019 · Frontend Development

React Hooks – Introduction, Usage, Tooling, and Changelog

This article introduces React Hooks, explains how they enable state and other React features without classes, provides official resources, outlines migration advice, details supported packages, tooling integrations, testing APIs, installation methods, and summarizes the changelog and post‑alpha updates for the stable 16.8 release.

ESLintHooksInstallation
0 likes · 12 min read
React Hooks – Introduction, Usage, Tooling, and Changelog
Qunar Tech Salon
Qunar Tech Salon
Feb 15, 2019 · Backend Development

Introduction to Nomi.js: A Node.js Micro Framework for Backend Development

This article introduces Nomi.js, a lightweight Node.js micro‑framework built on Koa2, explains its design goals and pain‑points it solves, outlines its key features, and provides step‑by‑step instructions with code examples for installing the CLI, initializing a project, and creating MVC‑style controllers and services.

JavaScriptMVCMicroframework
0 likes · 7 min read
Introduction to Nomi.js: A Node.js Micro Framework for Backend Development
21CTO
21CTO
Feb 6, 2019 · Backend Development

Why Choose the MEAN Stack for Your Next Web Project?

This article explains the MEAN stack—MongoDB, Express.js, AngularJS, and Node.js—detailing each component, comparing it with LAMP/LNMP, and highlighting its JavaScript‑centric, cost‑effective, open‑source advantages for modern web development.

AngularJSExpress.jsJavaScript
0 likes · 7 min read
Why Choose the MEAN Stack for Your Next Web Project?
UC Tech Team
UC Tech Team
Feb 1, 2019 · Frontend Development

CSS and JS Are at War – How to Stop It

The article examines the perceived conflict between JavaScript and CSS/UX developers, explains how community segregation and social media amplify the divide, and proposes practical steps for fostering collaboration and reducing the "JS vs CSS" war in front‑end development.

CSSCommunityJavaScript
0 likes · 6 min read
CSS and JS Are at War – How to Stop It
UC Tech Team
UC Tech Team
Jan 21, 2019 · Frontend Development

New ES2018 Features Every JavaScript Developer Should Know

The article introduces the major ES2018 additions—including rest/spread properties, asynchronous iteration, Promise.prototype.finally, and four RegExp enhancements—explains their syntax and usage with examples, and lists Node.js versions that support each feature, helping developers adopt the latest JavaScript capabilities.

ES2018JavaScriptNode.js
0 likes · 13 min read
New ES2018 Features Every JavaScript Developer Should Know
Programmer DD
Programmer DD
Jan 9, 2019 · Fundamentals

How to Find the Peak in a Bitonic Array Using Binary Search

This article presents a JavaScript solution for locating the maximum element in a bitonic (first increasing then decreasing) array, explaining that the problem is a variant of binary search and providing a complete implementation using a binary‑search‑based algorithm.

AlgorithmInterview QuestionJavaScript
0 likes · 3 min read
How to Find the Peak in a Bitonic Array Using Binary Search
AutoHome Frontend
AutoHome Frontend
Jan 7, 2019 · Frontend Development

From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming

This article walks through the evolution of JavaScript asynchronous patterns—from basic callbacks and their pitfalls, through Promise creation, chaining, and error handling, to the modern async/await syntax—showing how to write clear, maintainable code for real‑world API calls.

Async/AwaitAsynchronousJavaScript
0 likes · 22 min read
From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming
AI Large-Model Wave and Transformation Guide
AI Large-Model Wave and Transformation Guide
Jan 6, 2019 · Artificial Intelligence

Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch

This article walks through the theory of k‑nearest‑neighbors, explains feature selection and normalization, shows how to implement the algorithm with plain JavaScript classes, visualizes results on an HTML canvas, and discusses practical limitations and extensions.

JavaScriptMachine Learningalgorithm implementation
0 likes · 22 min read
Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2019 · Mobile Development

Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development

The article describes how to quickly build a lightweight WeChat Mini Program for note‑taking using Cloud Development, covering registration, cloud setup, and core code for creating, querying, and editing notes with text and images, while eliminating the need for separate servers, domains, and certificates.

JavaScriptWeChat mini programcloud development
0 likes · 13 min read
Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development
21CTO
21CTO
Jan 1, 2019 · Artificial Intelligence

What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More

The article forecasts the major technology trends for 2019, highlighting the rise of artificial intelligence, the transition beyond smartphones to wearable interfaces, global 5G deployment, the surge of progressive web apps, expanding blockchain applications, low‑code development, cloud services growth, and the continued dominance of JavaScript and modern development practices.

5GArtificial IntelligenceJavaScript
0 likes · 12 min read
What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More
UC Tech Team
UC Tech Team
Dec 28, 2018 · Frontend Development

Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i

This article introduces Chrome DevTools console shortcuts—including $0‑$4 for element references, $ and $$ for query selectors, $_ for the last expression result, and $i for importing npm libraries—explaining their usage to streamline front‑end debugging and testing.

Chrome DevToolsDebuggingJavaScript
0 likes · 3 min read
Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i
UC Tech Team
UC Tech Team
Dec 25, 2018 · Backend Development

19 Ways to Become a Better Node.js Developer in 2019

The article presents 19 practical recommendations for Node.js developers in 2019, covering type systems, linters, architecture, async hooks, serverless, emerging JavaScript features, API design, testing strategies, security, package management, deployment, Kubernetes, blockchain, machine learning, open‑source exploration, Linux internals, and scientific learning methods.

JavaScriptNode.jsServerless
0 likes · 18 min read
19 Ways to Become a Better Node.js Developer in 2019
JD Tech
JD Tech
Dec 24, 2018 · Mobile Development

Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool

The article presents ARES, JD.com's cross‑platform mobile application framework comprising Engines, Websites, Studio, Store, and Console, and details its mini‑program conversion tool that bridges ARES Engines with WeChat mini‑programs through command‑line usage, AST manipulation, runtime integration, component alignment, third‑party library support, routing, animation, and conversion constraints.

ASTJavaScriptcross‑platform
0 likes · 13 min read
Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool
UC Tech Team
UC Tech Team
Dec 21, 2018 · Frontend Development

HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript

HTM is a pure‑JavaScript library that implements a JSX‑like syntax without a compiler, offering sub‑kilobyte bundle sizes, seamless integration with React/Preact, ergonomic syntax enhancements, and a new Babel plugin that dramatically improves performance and flexibility for frontend developers.

BabelHTMJSX
0 likes · 4 min read
HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript
Qunar Tech Salon
Qunar Tech Salon
Dec 21, 2018 · Frontend Development

Using Web Share Target API to Receive Shared Content on Websites

This article explains how to register a website as a share target using the Web Share Target API, update the manifest file, handle incoming shared data with JavaScript, and outlines browser support, usage scenarios, and example implementations for modern front‑end development.

JavaScriptProgressive Web AppWeb API
0 likes · 7 min read
Using Web Share Target API to Receive Shared Content on Websites
Qunar Tech Salon
Qunar Tech Salon
Dec 20, 2018 · Frontend Development

Introduction to the Web Share API: Usage, Syntax, and Browser Support

This article introduces the Web Share API, explaining its purpose, syntax, usage examples, browser compatibility, and best practices for integrating native sharing functionality into mobile web pages; it also covers required HTTPS conditions, user‑gesture triggers, and provides sample ES6 code snippets for developers.

JavaScriptMobile WebWeb Share API
0 likes · 7 min read
Introduction to the Web Share API: Usage, Syntax, and Browser Support
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 19, 2018 · Frontend Development

Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study

This article explores how WebAssembly, compiled via Emscripten from C/C++ code, can accelerate file‑scanning tasks in a web‑based email attachment uploader, detailing the compilation pipeline, runtime communication, performance benchmarks against pure JavaScript, and practical optimizations for worker‑based processing.

BrowserEmscriptenJavaScript
0 likes · 18 min read
Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study