Tagged articles
2421 articles
Page 15 of 25
Laravel Tech Community
Laravel Tech Community
Aug 23, 2021 · Fundamentals

Pros and Cons of JavaScript, Haskell, Go, and PHP

This article compares four popular programming languages—JavaScript, Haskell, Go, and PHP—by outlining their key advantages such as rapid prototyping, functional features, simplicity, and ecosystem support, as well as their notable drawbacks including dynamic typing, steep learning curves, lack of generics, and quirky language behaviors.

GoHaskellJavaScript
0 likes · 10 min read
Pros and Cons of JavaScript, Haskell, Go, and PHP
JavaScript
JavaScript
Aug 23, 2021 · Frontend Development

Detecting Object Properties in JavaScript: Truthy, in Operator, hasOwnProperty

This article compares three common JavaScript techniques—truthy value checks, the in operator, and hasOwnProperty()—explaining how each works, their handling of falsy values and prototype inheritance, and providing code examples and edge‑case solutions for reliable property detection.

IN operatorJavaScripthasOwnProperty
0 likes · 5 min read
Detecting Object Properties in JavaScript: Truthy, in Operator, hasOwnProperty
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Aug 20, 2021 · Frontend Development

Evolution of a New Web Live Streaming System: From Flash to HTML5, AI Integration, and Modular Refactoring

This article chronicles the development of a new web live streaming solution, detailing the shift from Flash to HTML5 video, the integration of AI voice detection using hark, audio encoding with lamejs, WebRTC-based real‑time communication, and a systematic modular refactor that transformed the project into a reusable frontend framework.

HTML5JavaScriptRTMP
0 likes · 8 min read
Evolution of a New Web Live Streaming System: From Flash to HTML5, AI Integration, and Modular Refactoring
KooFE Frontend Team
KooFE Frontend Team
Aug 19, 2021 · Frontend Development

How React 18 Changes Suspense Behavior: What Developers Need to Know

This article explains the key differences between Legacy Suspense and Concurrent Suspense in React 18, covering how sibling components are handled, ref timing outside Suspense boundaries, and the impact on rendering and effects, helping developers adapt their code for the new model.

Concurrent ReactJavaScriptReact
0 likes · 8 min read
How React 18 Changes Suspense Behavior: What Developers Need to Know
Open Source Tech Hub
Open Source Tech Hub
Aug 18, 2021 · Frontend Development

Mastering JavaScript Promises: Concepts, Usage, and Common Pitfalls

This article explains what JavaScript Promises are, their three immutable states, typical use‑cases for handling asynchronous operations, practical syntax and examples—including then and catch methods—while also highlighting their advantages over callback hell and their inherent limitations.

JavaScriptPromisecatch
0 likes · 9 min read
Mastering JavaScript Promises: Concepts, Usage, and Common Pitfalls
ELab Team
ELab Team
Aug 18, 2021 · Frontend Development

Unlock Powerful Audio Effects with Web Audio API: A Hands‑On Guide

This article introduces the Web Audio API, covering AudioContext, audio nodes, routing graphs, various source types, processing nodes like AnalyserNode and BiquadFilterNode, as well as spatialization with PannerNode and convolution reverb, providing code examples and practical demos for frontend developers.

Audio ProcessingAudioContextJavaScript
0 likes · 16 min read
Unlock Powerful Audio Effects with Web Audio API: A Hands‑On Guide
Taobao Frontend Technology
Taobao Frontend Technology
Aug 18, 2021 · Frontend Development

How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets

This article summarizes the CovalenceConf 2019 talk on VS Code’s startup performance, detailing measurement practices, code‑size reductions, lifecycle re‑ordering, V8 code caching, requestIdleCallback usage, and perceived‑performance tricks that together shrink launch time from seconds to under one second.

ElectronJavaScriptStartup Performance
0 likes · 17 min read
How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 16, 2021 · Fundamentals

Why Refactoring Matters: Practical Tips and Code Smell Solutions

This article, based on the author’s experience and Martin Fowler’s book, explains what refactoring is, why it’s essential, how to spot code smells, and provides concrete principles and JavaScript examples to improve code design, readability, and maintainability without focusing on performance.

JavaScriptbest practicescode smells
0 likes · 27 min read
Why Refactoring Matters: Practical Tips and Code Smell Solutions
php Courses
php Courses
Aug 16, 2021 · Backend Development

Implementing WeChat Share Interface with PHP and JavaScript

This tutorial walks through registering a WeChat public account, configuring developer information and JS security domains, creating a PHP class to obtain the JS‑API signature, setting up PHP file configuration, and embedding the required JavaScript/HTML to enable custom share titles, descriptions, links, and images on WeChat.

APIJavaScriptWeChat
0 likes · 8 min read
Implementing WeChat Share Interface with PHP and JavaScript
ELab Team
ELab Team
Aug 16, 2021 · Frontend Development

How to Build a Danmaku (Bullet Comment) System with HTML, CSS, and Canvas

This article explains the concept of danmaku (bullet comments), why they improve user experience, and provides a detailed guide on implementing a danmaku system using HTML + CSS or Canvas, including stage design, track management, collision handling, and reusable code examples.

CSSHTMLJavaScript
0 likes · 13 min read
How to Build a Danmaku (Bullet Comment) System with HTML, CSS, and Canvas
ByteFE
ByteFE
Aug 12, 2021 · Frontend Development

How JavaScript’s Single Thread Handles Async and What startTransition Changes

Although JavaScript runs on a single thread, it can handle asynchronous operations through mechanisms like setTimeout, and React 18’s startTransition lets developers separate urgent UI updates from deferred work, improving responsiveness by scheduling non‑urgent tasks after urgent ones complete.

AsyncJavaScriptReact
0 likes · 6 min read
How JavaScript’s Single Thread Handles Async and What startTransition Changes
Fulu Network R&D Team
Fulu Network R&D Team
Aug 10, 2021 · Frontend Development

Implementing Zero-Delay Timers in JavaScript: Alternatives to setTimeout

This article explores why the native setTimeout cannot achieve a true 0 ms delay, presents a postMessage‑based zero‑timeout implementation, and compares several asynchronous JavaScript techniques—including queueMicrotask, async/await, and MessageChannel—showing their performance advantages over setTimeout.

JavaScriptMessageChannelMicrotask
0 likes · 7 min read
Implementing Zero-Delay Timers in JavaScript: Alternatives to setTimeout
Qingyun Technology Community
Qingyun Technology Community
Aug 9, 2021 · Frontend Development

Master Debounce and Throttle: When to Use Each in JavaScript

This article explains the concepts of debounce and throttle in JavaScript, illustrates their principles and typical use cases such as button submissions, search suggestions, window resize, and drag‑and‑drop, and provides practical implementations with code examples and options for immediate execution, timestamps, and timers.

DebounceJavaScriptThrottle
0 likes · 7 min read
Master Debounce and Throttle: When to Use Each in JavaScript
ELab Team
ELab Team
Aug 8, 2021 · Frontend Development

Master RxJS: Build Your Own Observable, Observer, and Subject from Scratch

This article explains the core concepts of RxJS—including Observable, Observer, Subject, and various operators—by walking through their fundamental principles, implementation details, and practical code examples that illustrate unicast and multicast data flows in reactive JavaScript programming.

JavaScriptObserverSubject
0 likes · 19 min read
Master RxJS: Build Your Own Observable, Observer, and Subject from Scratch
JavaScript
JavaScript
Aug 5, 2021 · Frontend Development

Discover Three Underrated JavaScript Frameworks You Should Try

While Angular, React, and Vue dominate the JavaScript scene, this article introduces three lesser‑known frameworks—Svelte, Ember, and Preact—explaining their unique approaches, core features, and code examples to help developers expand their toolkit.

EmberJavaScriptPreact
0 likes · 3 min read
Discover Three Underrated JavaScript Frameworks You Should Try
Java High-Performance Architecture
Java High-Performance Architecture
Aug 3, 2021 · Frontend Development

Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of

This article compares five JavaScript iteration constructs—classic for, forEach, map, for...in and for...of—explaining their origins, semantics, performance characteristics, and appropriate use‑cases, while providing concrete code examples and guidance on breaking, continuing, and avoiding common pitfalls.

JavaScriptMAPfor loop
0 likes · 12 min read
Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of
Aotu Lab
Aotu Lab
Jul 29, 2021 · Frontend Development

Master Modern Development: JS Algorithms, Privacy Techniques, and Cutting‑Edge Tools

This article surveys essential front‑end knowledge, covering a comprehensive JavaScript algorithm curriculum, browser‑fingerprinting privacy concerns, collaborative design platforms like Figma, the Markdown‑to‑PPT tool Slidev, and a step‑by‑step guide to implementing the SLIC pixel‑art algorithm.

AlgorithmsFigmaJavaScript
0 likes · 6 min read
Master Modern Development: JS Algorithms, Privacy Techniques, and Cutting‑Edge Tools
ELab Team
ELab Team
Jul 28, 2021 · Frontend Development

How Taro 3 Redefined Cross‑Platform Frontend Architecture

This article explains Taro 3's shift from a compile‑time heavy architecture to an interpretive runtime, detailing its JSX compilation drawbacks, the new runtime design that supports multiple frameworks, the implementation of a custom React reconciler, Web Components via Stencil, and how these changes improve cross‑platform development performance and flexibility.

JavaScriptReactStencil
0 likes · 27 min read
How Taro 3 Redefined Cross‑Platform Frontend Architecture
The Dominant Programmer
The Dominant Programmer
Jul 27, 2021 · Frontend Development

Getting Started with Three.js: Building a Hello World Scene

This tutorial walks through setting up a basic Three.js project, explaining core concepts like scene, camera, and renderer, and provides step‑by‑step HTML and JavaScript code to display a simple axis helper and a wireframe sphere in the browser.

3D graphicsJavaScriptThree.js
0 likes · 7 min read
Getting Started with Three.js: Building a Hello World Scene
ByteFE
ByteFE
Jul 27, 2021 · Mobile Development

Bridge Communication Between Native and Webview in Hybrid Development: Methods, Implementation, and Event Handling

This article explains from a frontend perspective how JavaScript and native code communicate in hybrid apps, covering injection and interception bridge methods, their implementation details, SDK initialization, message flow, and native event listening with code examples and compatibility considerations.

HybridJavaScriptMobile
0 likes · 15 min read
Bridge Communication Between Native and Webview in Hybrid Development: Methods, Implementation, and Event Handling
Java Interview Crash Guide
Java Interview Crash Guide
Jul 18, 2021 · Backend Development

How to Build High‑Performance Large File HTTP Uploads with Resume Support

This article outlines a practical approach for implementing high‑performance large file HTTP uploads with breakpoint resume, covering server‑side C implementation, client‑side hash generation, progress tracking, chunked uploads using HTML5 File.slice, and detailed JavaScript code examples for robust file transfer.

C serverHTTP uploadJavaScript
0 likes · 14 min read
How to Build High‑Performance Large File HTTP Uploads with Resume Support
TiPaiPai Technical Team
TiPaiPai Technical Team
Jul 16, 2021 · Frontend Development

Boost Vue Form Accuracy with the v‑timely‑validate Directive

The article introduces the Vue v‑timely‑validate directive, explains how it shifts form validation from blur to change for faster error clearance, outlines form structure, validation principles, usage steps, and provides complete code examples for seamless integration into i‑form components.

DirectiveJavaScriptform-validation
0 likes · 6 min read
Boost Vue Form Accuracy with the v‑timely‑validate Directive
Taobao Frontend Technology
Taobao Frontend Technology
Jul 16, 2021 · Frontend Development

What ECMAScript Proposals Will Shape JavaScript’s Future?

This article surveys the most interesting ECMAScript proposals—ranging from new data structures like Record & Tuple to syntax enhancements such as the pipeline operator—explaining their purpose, current stage, and practical examples, while also covering the TC39 process and related background for front‑end developers.

ECMAScriptJavaScriptJavaScript proposals
0 likes · 21 min read
What ECMAScript Proposals Will Shape JavaScript’s Future?
ELab Team
ELab Team
Jul 16, 2021 · Frontend Development

Mastering RxJS: Build Your Own Observable, Observer, and Subject from Scratch

This article explains the core concepts of RxJS—including Observable, Observer, Subject, and various operators—by walking through their definitions, basic usage, static creation methods, and detailed implementation with JavaScript code examples, while comparing unicast and multicast behaviors.

JavaScriptObserverSubject
0 likes · 20 min read
Mastering RxJS: Build Your Own Observable, Observer, and Subject from Scratch
JavaScript
JavaScript
Jul 15, 2021 · Frontend Development

Mastering ES Modules: Static & Dynamic Imports in JavaScript

This guide explains the roles of import and export in ES modules, demonstrates static and dynamic import syntax with code examples, and advises when to use dynamic imports for large modules in modern browsers and Node.js.

Import ExportJavaScriptdynamic import
0 likes · 6 min read
Mastering ES Modules: Static & Dynamic Imports in JavaScript
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 14, 2021 · Frontend Development

Mastering Module Federation: From NPM Sharing to Advanced Remote Loading

This article explains how to share UI modules via NPM packages and Module Federation, compares traditional iframe approaches, dives into low‑level and high‑level concepts, demonstrates practical webpack configurations, version‑selection strategies, and runtime loading mechanisms with detailed code examples.

Frontend ArchitectureJavaScriptMicro Frontends
0 likes · 20 min read
Mastering Module Federation: From NPM Sharing to Advanced Remote Loading
Taobao Frontend Technology
Taobao Frontend Technology
Jul 14, 2021 · Frontend Development

From Emscripten to WebAssembly: A Decade of Bringing C++ to the Browser

This article traces the ten‑year evolution from Emscripten’s early C++‑to‑JavaScript compiler through asm.js to modern WebAssembly, highlighting key milestones, technical challenges, performance optimizations, and real‑world applications such as games, AutoCAD, and Google Meet, while providing code examples and installation steps.

Browser PerformanceEmscriptenJavaScript
0 likes · 17 min read
From Emscripten to WebAssembly: A Decade of Bringing C++ to the Browser
New Oriental Technology
New Oriental Technology
Jul 8, 2021 · Artificial Intelligence

Paper Detection and Perspective Correction Using OpenCV.js

This article introduces OpenCV.js, explains its basic concepts and demonstrates a complete workflow for detecting and correcting paper images in the browser using JavaScript, including matrix handling, resizing, filtering, edge detection, contour analysis, perspective transformation, and discusses challenges such as noise and incomplete edges.

Computer VisionImage ProcessingJavaScript
0 likes · 10 min read
Paper Detection and Perspective Correction Using OpenCV.js
Taobao Frontend Technology
Taobao Frontend Technology
Jul 8, 2021 · Artificial Intelligence

How to Build Machine Learning Apps Directly in the Browser with JavaScript

This article explains a four‑level methodology for choosing JavaScript‑based machine‑learning tools, demonstrates practical code examples ranging from NLP with nlp.js to deep‑learning with TensorFlow.js, traditional ML with mljs, and statistical computing with stdlib, and shows how to run them entirely in the browser.

Frontend AIJavaScriptTensorFlow.js
0 likes · 11 min read
How to Build Machine Learning Apps Directly in the Browser with JavaScript
Wukong Talks Architecture
Wukong Talks Architecture
Jul 7, 2021 · Frontend Development

Integrating Gitalk Comment System into a Docsify Documentation Site

This article explains how to add a Gitalk-based comment feature to a Docsify‑generated documentation site, covering Gitalk fundamentals, GitHub OAuth app setup, integration steps, custom JavaScript tweaks for URL handling, common pitfalls, and a detailed appendix of configuration parameters.

Comment SystemDocsifyGitHub OAuth
0 likes · 12 min read
Integrating Gitalk Comment System into a Docsify Documentation Site
Programmer DD
Programmer DD
Jul 6, 2021 · Frontend Development

Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript

This article explains the async/await syntax, compares it with traditional Promise chains, and outlines six practical advantages—including conciseness, unified error handling, clearer conditional logic, easier intermediate value handling, better stack traces, and simpler debugging—illustrated with real JavaScript code examples.

Error HandlingJavaScriptasync/await
0 likes · 9 min read
Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 30, 2021 · Frontend Development

Mastering Webpack Code Splitting: From Entry Points to Magic Comments

This article explains how to use Webpack's code splitting techniques—including multiple entry points, the SplitChunksPlugin, dynamic imports, and magic comments—to break large bundles into smaller chunks, reduce duplicate dependencies, and improve loading performance in modern frontend applications.

JavaScriptcode-splittingfrontend
0 likes · 13 min read
Mastering Webpack Code Splitting: From Entry Points to Magic Comments
ByteFE
ByteFE
Jun 30, 2021 · Frontend Development

Understanding AST and Its Application in CSS Processing with PostCSS

This article explains what an Abstract Syntax Tree (AST) is, demonstrates how JavaScript code is transformed into an AST, describes the tokenization and parsing steps used by PostCSS to generate a CSS AST, and shows how plugin mechanisms like AutoPrefixer can extend the toolchain.

ASTAutoprefixerCSS Parsing
0 likes · 9 min read
Understanding AST and Its Application in CSS Processing with PostCSS
Xianyu Technology
Xianyu Technology
Jun 29, 2021 · Frontend Development

Design and Implementation of a Cross-Platform Front-End API Solution

The article proposes a unified cross‑platform front‑end API specification and SDK that abstracts differences among WebView, mini‑programs, React Native, Flutter, and other containers, consolidating 55+ APIs for 30+ apps, reducing duplicated code, maintenance, and testing while enabling extensible, reusable functionality across Alibaba’s ecosystem.

APIJavaScriptSDK
0 likes · 8 min read
Design and Implementation of a Cross-Platform Front-End API Solution
ByteFE
ByteFE
Jun 28, 2021 · Fundamentals

How V8 Executes JavaScript: From Source Code to Optimized Machine Code

This article explains the complete lifecycle of JavaScript execution in the V8 engine, covering language fundamentals, AST generation, bytecode compilation, interpretation, just‑in‑time optimization, hidden classes, inline caches, and other performance strategies used by both browsers and Node.js.

EngineHiddenClassJIT
0 likes · 15 min read
How V8 Executes JavaScript: From Source Code to Optimized Machine Code
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 27, 2021 · Frontend Development

How Webpack and Rollup Implement Tree-Shaking: A Deep Dive

This article compares the tree‑shaking mechanisms of Rollup and Webpack, explains the three stages Webpack uses (UglifyJS, BabelMinify, Terser), details side‑effects handling, configuration tips, and performance benchmarks, providing practical guidance for optimizing bundle size in modern JavaScript projects.

JavaScriptRollupUglifyJS
0 likes · 18 min read
How Webpack and Rollup Implement Tree-Shaking: A Deep Dive
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 24, 2021 · Frontend Development

Mastering React Hooks: From Basics to Advanced Patterns

This article explains why React Hooks were introduced, walks through the fundamentals of useState and useEffect with clear code examples, and demonstrates how Hooks simplify state management, side‑effects, and component logic compared to traditional class components, enabling more maintainable frontend development.

JavaScriptReactuseEffect
0 likes · 19 min read
Mastering React Hooks: From Basics to Advanced Patterns
Aotu Lab
Aotu Lab
Jun 24, 2021 · Frontend Development

Unlock React 18’s Power: Batching, Suspense SSR, startTransition & More

This article reviews Google’s CSS fundamentals course, dives into React 18’s automatic batching, the new Suspense SSR architecture, the startTransition API, suggests a lightweight VS Code API client, and explains the basics of building user profiles for recommendation systems.

CSSJavaScriptReact
0 likes · 7 min read
Unlock React 18’s Power: Batching, Suspense SSR, startTransition & More
Baidu App Technology
Baidu App Technology
Jun 24, 2021 · Frontend Development

Developing ESLint and StyleLint Plugins for San‑Native Code Linting

The article explains how to design and implement ESLint and StyleLint plugins for the San‑Native framework, detailing AST generation, processor creation, rule definitions for JavaScript and CSS, configuration sharing, and how these tools provide real‑time linting feedback for developers.

ASTESLintJavaScript
0 likes · 24 min read
Developing ESLint and StyleLint Plugins for San‑Native Code Linting
ByteFE
ByteFE
Jun 24, 2021 · Fundamentals

Effective Variable and Function Naming Conventions in JavaScript

This article explains practical JavaScript naming conventions—covering camelCase, constant capitalization, acronym handling, meaningful and expressive names, verb consistency, boolean naming, and class naming—while providing numerous code examples to illustrate good and bad practices for clearer, maintainable code.

JavaScriptVariablescode readability
0 likes · 7 min read
Effective Variable and Function Naming Conventions in JavaScript
php Courses
php Courses
Jun 24, 2021 · Frontend Development

Top 5 Frontend JavaScript Frameworks in 2021

This article reviews the 2021 top five frontend JavaScript frameworks—React, Vue, Angular, Ember, and Preact—based on Stack Overflow surveys, State of JS, and NPM trends, explaining their origins, features, and adoption by major companies.

AngularEmberJavaScript
0 likes · 9 min read
Top 5 Frontend JavaScript Frameworks in 2021
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 21, 2021 · Frontend Development

Mastering Webpack: From Custom Loaders to Powerful Plugins

This article explains how Webpack loaders work, outlines development guidelines, demonstrates synchronous, asynchronous, raw, and pitching loaders with code examples, and then guides you through creating and configuring custom plugins, covering hooks, async handling, and a practical build‑info plugin.

JavaScriptbuild-toolsfrontend
0 likes · 21 min read
Mastering Webpack: From Custom Loaders to Powerful Plugins
ELab Team
ELab Team
Jun 20, 2021 · Frontend Development

Understanding React Synthetic Events: Architecture, Code, and Common Pitfalls

This article explains how React synthetic events emulate native DOM events, details the event system architecture, provides core registration and execution code, demonstrates mixing with native events, and discusses the benefits and known issues of the synthetic event model.

Event SystemJavaScriptReact
0 likes · 7 min read
Understanding React Synthetic Events: Architecture, Code, and Common Pitfalls
21CTO
21CTO
Jun 19, 2021 · Frontend Development

Build a Dark Mode Switcher with HTML, CSS, and JavaScript

This step‑by‑step tutorial shows how to create a dark‑mode toggle for a web page using HTML structure, CSS styling (including dark‑mode rules), and a small JavaScript script that adds or removes the dark class on user interaction.

CSSDark ModeHTML
0 likes · 9 min read
Build a Dark Mode Switcher with HTML, CSS, and JavaScript
ByteDance Web Infra
ByteDance Web Infra
Jun 18, 2021 · Frontend Development

Comprehensive Guide to SourceMap Integration, Build‑Chain Support, and Error Stack Deobfuscation for Web Applications

This article explains the complete workflow for implementing SourceMap‑based exception monitoring across web and cross‑platform systems, covering transformer, bundler, minifier, runtime support, log collection, error deobfuscation, and the limitations of SourceMap in debugging and performance contexts.

JavaScriptSourceMapbuild tools
0 likes · 35 min read
Comprehensive Guide to SourceMap Integration, Build‑Chain Support, and Error Stack Deobfuscation for Web Applications
Laravel Tech Community
Laravel Tech Community
Jun 17, 2021 · Backend Development

Node.js 14.17.1 LTS Release Highlights and Changes

The Node.js 14.17.1 LTS release introduces updated ICU to version 69.1, aligns source‑map stack traces, refactors several core modules for safety, improves benchmark performance, and fixes numerous build and runtime issues, providing a more stable and efficient JavaScript runtime for server‑side applications.

BackendJavaScriptLTS
0 likes · 3 min read
Node.js 14.17.1 LTS Release Highlights and Changes
WeChatFE
WeChatFE
Jun 17, 2021 · Frontend Development

How Vue 3’s Proxy‑Based Reactivity Beats Vue 2’s Object.defineProperty

This article explains Vue’s reactive system, compares Vue 2.6’s Object.defineProperty approach with Vue 3’s Proxy implementation, details how observers are defined, collected, and triggered, and shows why the asynchronous update queue improves performance and maintainability.

JavaScriptProxyReactivity
0 likes · 16 min read
How Vue 3’s Proxy‑Based Reactivity Beats Vue 2’s Object.defineProperty
Sohu Tech Products
Sohu Tech Products
Jun 16, 2021 · Frontend Development

Implementing Promises in JavaScript: Specification, Code Walkthrough, and Interview Guide

This article explains the evolution of JavaScript asynchronous programming, details the Promise/A+ specification, provides step‑by‑step custom Promise implementations with full code examples, covers additional Promise methods, and offers interview questions and best‑practice tips for frontend developers.

AsynchronousJavaScriptPromise
0 likes · 18 min read
Implementing Promises in JavaScript: Specification, Code Walkthrough, and Interview Guide
ELab Team
ELab Team
Jun 16, 2021 · Fundamentals

Why Functional Programming Matters for Front‑End Developers and How to Use It

This article explains functional programming as a paradigm focused on pure functions and data‑to‑data mapping, contrasts it with imperative programming, introduces lambda calculus, pure functions, higher‑order functions, functors, monads, and provides JavaScript examples that show how to write composable, side‑effect‑free code for front‑end development.

Higher-Order FunctionsJavaScriptMonads
0 likes · 19 min read
Why Functional Programming Matters for Front‑End Developers and How to Use It
Efficient Ops
Efficient Ops
Jun 15, 2021 · Frontend Development

Mastering Regex: Essential Patterns for Validating Numbers, Text, and URLs

This guide compiles a comprehensive collection of regular expressions for validating numeric formats, character sets, special inputs like emails and URLs, as well as IP addresses, dates, and other common data patterns, providing clear examples and explanations for developers.

BackendJavaScriptdata format
0 likes · 17 min read
Mastering Regex: Essential Patterns for Validating Numbers, Text, and URLs
Laravel Tech Community
Laravel Tech Community
Jun 15, 2021 · Fundamentals

Pros and Cons of Five Popular Programming Languages: JavaScript, Haskell, Go, PHP, and Elixir

This article compares five widely used programming languages—JavaScript, Haskell, Go, PHP, and Elixir—by outlining each language’s major advantages such as rapid prototyping, strong type systems, performance, and ecosystem support, as well as notable drawbacks including dynamic typing quirks, steep learning curves, and limited language features.

ElixirGoHaskell
0 likes · 12 min read
Pros and Cons of Five Popular Programming Languages: JavaScript, Haskell, Go, PHP, and Elixir
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 14, 2021 · Frontend Development

Mastering Webpack HMR: From Basics to Custom Module Hot Updates

This article explains the background, concepts, workflow, and hands‑on setup of Webpack’s Hot Module Replacement (HMR), detailing server‑client communication, runtime mechanics, and how to manually implement module hot‑updates without a framework, complete with code examples and configuration tips.

JavaScriptdev serverfrontend development
0 likes · 14 min read
Mastering Webpack HMR: From Basics to Custom Module Hot Updates
21CTO
21CTO
Jun 13, 2021 · Frontend Development

Add a One‑Click Copy‑to‑Clipboard Button with JavaScript

This guide shows how to create a simple HTML page with a button that copies paragraph text to the system clipboard using the modern Clipboard API, including full code examples and explanations for both copy and cut operations.

Clipboard APIDOMHTML
0 likes · 5 min read
Add a One‑Click Copy‑to‑Clipboard Button with JavaScript
Beike Product & Technology
Beike Product & Technology
Jun 11, 2021 · Game Development

Building a Multi‑Platform Mini‑Game with Cocos Creator: From Project Setup to Publishing

This tutorial walks you through creating a multi‑platform “Merge Big Watermelon” mini‑game using Cocos Creator, covering game rules, engine architecture, project structure, component‑based scripting, physics and collision handling, asset management, build configuration, and publishing to various platforms.

Cocos CreatorGame DevelopmentJavaScript
0 likes · 22 min read
Building a Multi‑Platform Mini‑Game with Cocos Creator: From Project Setup to Publishing
Baidu App Technology
Baidu App Technology
Jun 9, 2021 · Frontend Development

How to Build a High‑Performance Virtual Tree in Santd for 10k+ Nodes

This article explains the concept of a virtual tree, why it is needed for rendering massive data sets, and provides a step‑by‑step implementation—including flattening the tree, calculating visible nodes, simulating scroll, and decorating the list—demonstrating a speedup from 26 seconds to 0.19 seconds.

JavaScriptSantdVirtualization
0 likes · 11 min read
How to Build a High‑Performance Virtual Tree in Santd for 10k+ Nodes
JD Tech
JD Tech
Jun 8, 2021 · Frontend Development

Design and Usage of JD Logistics Gateway Frontend Plugin Based on Axios

This article explains the design, configuration, and usage of the JD Logistics gateway frontend plugin built on Axios, detailing how it enables zero‑cost integration across multiple environments and account types while providing extensible request/response handling and customizable login redirects.

APIConfigurationJavaScript
0 likes · 9 min read
Design and Usage of JD Logistics Gateway Frontend Plugin Based on Axios
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 7, 2021 · Fundamentals

What’s New in JavaScript? A Deep Dive into TC39’s Latest Proposals

This article reviews the most recent TC39 proposals—including Realms, RegExp match indices, top‑level await, accessible hasOwnProperty, resizable ArrayBuffers, Intl.DisplayNames V2, extended time‑zone names, and RegExp set notation—explaining their key changes, current stage status, and practical code examples for developers.

ECMAScriptJavaScriptTC39
0 likes · 13 min read
What’s New in JavaScript? A Deep Dive into TC39’s Latest Proposals
New Oriental Technology
New Oriental Technology
Jun 7, 2021 · Frontend Development

Introduction to Unit Testing with Jest and React Testing Library

This article explains the concept of unit testing, introduces the Jest framework and its configuration, demonstrates common APIs, matchers, asynchronous testing, mocking, coverage reporting, and shows how to test React components using React Testing Library with practical code examples.

JavaScriptJestReact Testing Library
0 likes · 18 min read
Introduction to Unit Testing with Jest and React Testing Library
KooFE Frontend Team
KooFE Frontend Team
Jun 6, 2021 · Fundamentals

Mastering Caesar Cipher Refactoring: A Step‑by‑Step Clean JavaScript Guide

This article walks through the complete refactoring of a JavaScript Caesar cipher implementation, explaining the cipher basics, the importance of clean code, and eight incremental refactoring steps that replace magic numbers, extract duplicated logic, simplify conditionals, and improve naming for maintainable, readable code.

Caesar CipherJavaScriptprogramming fundamentals
0 likes · 24 min read
Mastering Caesar Cipher Refactoring: A Step‑by‑Step Clean JavaScript Guide
TAL Education Technology
TAL Education Technology
Jun 3, 2021 · Frontend Development

Exploring Web Live Streaming: From Web 1.0 to 2.1 – Architecture, AI Integration, and Refactoring

This article chronicles the evolution of a web‑based live‑streaming platform from its initial Web 1.0 prototype through successive versions, detailing AI speech detection, RTC integration, extensive refactoring, and the resulting framework that proves web technologies can effectively support live‑streaming scenarios.

AI integrationAudio ProcessingJavaScript
0 likes · 6 min read
Exploring Web Live Streaming: From Web 1.0 to 2.1 – Architecture, AI Integration, and Refactoring
Sohu Tech Products
Sohu Tech Products
Jun 2, 2021 · Frontend Development

Understanding Top-Level Await in JavaScript Modules

This article explains how top‑level await, introduced in V8 from version 9.1 and enabled by default in modern browsers, allows developers to use await directly at a module’s top level, simplifying asynchronous code patterns with examples, execution order details, and practical use cases.

AsyncJavaScriptModules
0 likes · 8 min read
Understanding Top-Level Await in JavaScript Modules
ELab Team
ELab Team
Jun 2, 2021 · Frontend Development

Do You Really Need Plugins? Designing Secure, Scalable Plugin Systems

This article explores when plugins are truly necessary, outlines design principles and SOLID guidelines for building robust plugin architectures, demonstrates a step‑by‑step implementation of a calculator plugin system, and examines JavaScript and CSS sandboxing techniques to ensure plugin security in web applications.

JavaScriptSandboxingWeb Development
0 likes · 22 min read
Do You Really Need Plugins? Designing Secure, Scalable Plugin Systems
KooFE Frontend Team
KooFE Frontend Team
Jun 1, 2021 · Frontend Development

Master Variable Naming: Clean Code Practices for JavaScript

This article explains essential clean‑code techniques for naming variables in JavaScript/TypeScript, covering self‑descriptive, pronounceable identifiers, avoiding type prefixes, using consistent terminology, eliminating unnecessary context, and replacing magic numbers and strings with meaningful constants.

JavaScriptbest practicesclean code
0 likes · 10 min read
Master Variable Naming: Clean Code Practices for JavaScript
Tencent Cloud Developer
Tencent Cloud Developer
May 31, 2021 · Frontend Development

Understanding Vue.nextTick and the JavaScript Event Loop

Vue.nextTick schedules callbacks using a graceful‑degradation chain (Promise, MutationObserver, setImmediate, setTimeout) that leverages the JavaScript event‑loop’s micro‑task queue, ensuring DOM mutations are applied instantly but rendered after microtasks and before macrotasks, while the browser’s multi‑threaded architecture coordinates rendering, timers, and network work.

JavaScriptVue.jsevent loop
0 likes · 12 min read
Understanding Vue.nextTick and the JavaScript Event Loop
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
May 31, 2021 · Frontend Development

Optimized Chinese Character Stroke‑Order Animation: Glyph Extraction, Stroke Segmentation, Median Generation, and Order Determination

This article describes how to integrate and extend the open‑source HanziWriter library for Android, iOS and web, extracting TrueType glyph data, segmenting strokes with corner detection and neural‑network scoring, generating stroke medians via Voronoi diagrams, and determining correct stroke order using a Hungarian‑algorithm match.

HanziWriterJavaScriptNeural Network
0 likes · 16 min read
Optimized Chinese Character Stroke‑Order Animation: Glyph Extraction, Stroke Segmentation, Median Generation, and Order Determination
WeDoctor Frontend Technology
WeDoctor Frontend Technology
May 30, 2021 · Frontend Development

How Rollup’s Tree‑Shaking Eliminates Dead Code: A Deep Dive

This article explains the fundamentals and implementation details of Rollup's tree‑shaking feature, showing how unused JavaScript code is identified and removed through static ES6 module analysis, with practical code examples and visual demonstrations of variable, function, and class elimination.

Code OptimizationES6 ModulesJavaScript
0 likes · 20 min read
How Rollup’s Tree‑Shaking Eliminates Dead Code: A Deep Dive
21CTO
21CTO
May 29, 2021 · Frontend Development

How Google’s Sparkplug Compiler Boosts Chrome Performance by 23%

Google’s new Sparkplug compiler for the V8 engine, introduced in Chrome 91, claims to cut CPU usage by the equivalent of 17 years per day and deliver a 23% speed boost, promising faster web experiences for all Chromium‑based browsers.

ChromeJavaScriptV8
0 likes · 4 min read
How Google’s Sparkplug Compiler Boosts Chrome Performance by 23%
Huolala Tech
Huolala Tech
May 28, 2021 · Frontend Development

Master Web Animations for Mobile: Tools, Tips, and Code Examples

This article reviews common web animation techniques for mobile projects—including GIF/APNG, CSS3, JavaScript, Lottie, SVG, and Canvas—offering practical tips, performance considerations, Vue and React implementations, and reusable code patterns to help developers confidently meet designers' animation requirements.

JavaScriptLottieReact
0 likes · 13 min read
Master Web Animations for Mobile: Tools, Tips, and Code Examples
Laravel Tech Community
Laravel Tech Community
May 26, 2021 · Backend Development

Implementing QQ Login with OAuth2.0: Step‑by‑Step Guide

This guide explains how to implement QQ login using the official OAuth2.0 flow, covering developer registration, creating a website application, obtaining the authorization code, access token, and OpenID, and finally calling the get_user_info API to retrieve user details.

JavaScriptOAuth2QQ Login
0 likes · 8 min read
Implementing QQ Login with OAuth2.0: Step‑by‑Step Guide
Taobao Frontend Technology
Taobao Frontend Technology
May 26, 2021 · Frontend Development

How iMove Enables Seamless In-Browser Code Execution for Developers

iMove, a reusable, function‑oriented JavaScript library, adds right‑click online code execution to its visual workflow, eliminating installation, simplifying testing with mock inputs, handling ES module imports via native browser support, CDN transforms, dynamic imports, and custom events to deliver instant, visual results.

CDNESMJavaScript
0 likes · 13 min read
How iMove Enables Seamless In-Browser Code Execution for Developers