Tagged articles

JavaScript

2473 articles · Page 17 of 25
Taobao Frontend Technology
Taobao Frontend Technology
Mar 31, 2021 · Frontend Development

How to Build a Web H.265 Decoder with WebAssembly and FFmpeg

This article walks through the complete process of creating a browser‑based H.265 video decoder by compiling a trimmed FFmpeg library to WebAssembly, designing a modular player architecture, and integrating the WASM module with JavaScript workers for real‑time playback of high‑resolution streams.

FFmpegH.265JavaScript
0 likes · 22 min read
How to Build a Web H.265 Decoder with WebAssembly and FFmpeg
ByteFE
ByteFE
Mar 30, 2021 · Frontend Development

Understanding Babel: Core Functions, AST, Polyfills, and Presets

This article explains Babel's role as a fundamental JavaScript compiler, detailing its parsing‑transform‑printing pipeline, AST structure, core‑js polyfills, preset‑env configuration, and runtime helpers, providing frontend developers with a comprehensive guide to mastering Babel's ecosystem and optimizing bundle size.

ASTJavaScriptPolyfill
0 likes · 13 min read
Understanding Babel: Core Functions, AST, Polyfills, and Presets
WecTeam
WecTeam
Mar 27, 2021 · Frontend Development

JavaScript Memory Management & Flutter Web at Meituan: Key Insights

This newsletter highlights two technical articles: one explains JavaScript's memory allocation, stack and heap usage, and garbage‑collection methods with examples of common leaks, while the other details Meituan Waimai's Flutter Web performance challenges and their mitigation strategies.

JavaScriptMemory Managementflutter-web
0 likes · 2 min read
JavaScript Memory Management & Flutter Web at Meituan: Key Insights
Beike Product & Technology
Beike Product & Technology
Mar 24, 2021 · Frontend Development

Understanding Tapable: Hooks and Flow Control in Webpack

Tapable is a flow‑control library used by webpack that implements synchronous and asynchronous hook mechanisms, enabling plugins to subscribe and publish events through a standardized interface, as demonstrated by source code analysis and generated function examples.

Flow ControlJavaScriptTapable
0 likes · 11 min read
Understanding Tapable: Hooks and Flow Control in Webpack
php Courses
php Courses
Mar 23, 2021 · Backend Development

Implementing Ajax Image Upload with Deletion in ThinkPHP5

This guide demonstrates how to replace a standard file upload in a ThinkPHP5 post feature with an Ajax-based solution that allows real‑time image preview, server‑side handling via PHP, and selective deletion of uploaded images, improving compatibility and user experience.

FormDataImage UploadJavaScript
0 likes · 5 min read
Implementing Ajax Image Upload with Deletion in ThinkPHP5
New Oriental Technology
New Oriental Technology
Mar 22, 2021 · Backend Development

Introduction to Node.js: History, Core Features, and Ecosystem

This article introduces Node.js by recounting its creator Ryan Dahl's background, explaining its core characteristics of single‑threaded, event‑driven, non‑blocking I/O architecture, describing suitable use cases, and reviewing basic code examples and popular frameworks such as Express, Koa, Nest, and Egg.

FrameworksJavaScriptNode.js
0 likes · 11 min read
Introduction to Node.js: History, Core Features, and Ecosystem
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 18, 2021 · Frontend Development

Understanding React Fiber: How It Boosts Rendering Performance

This article explains why React introduced the Fiber architecture, how it breaks rendering work into small interruptible units, the role of requestAnimationFrame and requestIdleCallback, the underlying linked‑list data structures, and provides code examples that illustrate the render and commit phases for smoother UI updates.

FiberJavaScriptPerformance
0 likes · 24 min read
Understanding React Fiber: How It Boosts Rendering Performance
ELab Team
ELab Team
Mar 17, 2021 · Frontend Development

Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries

This article explains the history of global time standards, how computers represent time with Unix timestamps and the 2038 problem, details ISO 8601 and RFC 2822 formats, and provides practical JavaScript Date usage examples along with comparisons of popular date‑handling libraries such as Moment.js, Dayjs, and Miment.

DayjsJavaScriptdate
0 likes · 22 min read
Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries
ByteFE
ByteFE
Mar 17, 2021 · Frontend Development

A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications

This article explains the syntax and behavior of JavaScript's reduce method, compares it with map, forEach, filter and find, and demonstrates numerous practical patterns such as flattening arrays, counting occurrences, grouping by property, deduplication, and finding extrema, all illustrated with clear code examples.

ArrayFunctional ProgrammingJavaScript
0 likes · 10 min read
A Comprehensive Guide to JavaScript's Array reduce Method and Its Versatile Applications
JavaScript
JavaScript
Mar 17, 2021 · Frontend Development

Explore the New ECMAScript 2021 Specification – The Future of JavaScript

Frontend developers are urged to spend a relaxed weekend reviewing the nearly completed ECMAScript 2021 specification—set for Ecma’s June approval—which will underpin the next generation of JavaScript implementations, with the full draft available at https://tc39.es/ecma262/2021/.

2021ECMAScriptJavaScript
0 likes · 1 min read
Explore the New ECMAScript 2021 Specification – The Future of JavaScript
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 16, 2021 · Fundamentals

How Error Cause, Temporal, and Array.findLast Proposals Will Transform JavaScript

The article reviews recent TC39 proposal updates—including Error Cause reaching Stage 3, the Temporal API replacing the flawed Date object, the new Array.findLast methods, and Module Fragments—explaining their motivations, design details, code examples, and how they aim to improve JavaScript development across environments.

Array.findLastECMAScriptError Cause
0 likes · 14 min read
How Error Cause, Temporal, and Array.findLast Proposals Will Transform JavaScript
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 16, 2021 · Frontend Development

Secure Plugin Sandboxes in Modern Web Editors: VS Code, Atom, and Figma

Exploring the evolution of web-based editors and design tools, this article examines why traditional plugin architectures like Atom faltered, how VS Code’s more restrictive model improves performance and security, and delves into Figma’s sophisticated sandboxing techniques—including Realm, Duktape, and CSS isolation—to balance flexibility with safety.

FigmaJavaScriptPlugin Architecture
0 likes · 15 min read
Secure Plugin Sandboxes in Modern Web Editors: VS Code, Atom, and Figma
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 15, 2021 · Frontend Development

Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting

This article investigates why JavaScript's Object.keys() may return keys in an unexpected order, explains the specification‑defined sorting rules for integer and string properties, demonstrates the issue with timestamp tags on iOS and Android, and explores the actual implementations in QuickJS and V8 engines.

JavaScriptObject.keysQuickJS
0 likes · 16 min read
Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting
Baidu Geek Talk
Baidu Geek Talk
Mar 10, 2021 · Frontend Development

How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture

This article dissects San CLI's internal architecture, detailing its core modules, the distinction between main and service processes, the step‑by‑step execution of the san init command, the TaskList implementation that drives sequential tasks, and the design of Command and Service plugins that enable extensibility.

CLICommand PluginJavaScript
0 likes · 16 min read
How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture
JavaScript
JavaScript
Mar 9, 2021 · Frontend Development

How to Accurately Check Property Existence in JavaScript Objects

This article compares three common JavaScript techniques—truthy checks, the in operator, and hasOwnProperty()—explaining their behavior with various value types, prototype inheritance, and edge cases, and provides code examples to help you choose the most reliable method for property detection.

IN operatorJavaScripthasOwnProperty
0 likes · 5 min read
How to Accurately Check Property Existence in JavaScript Objects
Programmer DD
Programmer DD
Mar 9, 2021 · Frontend Development

How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API

This article introduces GoDB.js, a TypeScript‑based wrapper for IndexedDB that provides a concise, schema‑aware CRUD API, hides asynchronous connection handling, and offers batch operations, making client‑side data storage in modern web apps much easier.

DatabaseIndexedDBJavaScript
0 likes · 17 min read
How GoDB.js Simplifies IndexedDB with a Developer‑Friendly API
ByteFE
ByteFE
Mar 8, 2021 · Frontend Development

Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders

This article explains the internal workflow of vue-loader, detailing how it separates style, script, template, and custom blocks in Vue single‑file components, injects a pitcher loader, clones webpack rules, and leverages resourceQuery to reuse user‑defined loaders such as less‑loader or babel‑loader.

JavaScriptVueloader
0 likes · 17 min read
Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders
Beike Product & Technology
Beike Product & Technology
Mar 5, 2021 · Frontend Development

Understanding the Browser History API: Properties, Methods, Events, and Practical Front‑End Applications

This article introduces the window.history object, explains its key properties, methods and the popstate event, answers common questions about its behavior, and demonstrates practical uses such as single‑page routing, navigation control, and custom front‑end router implementations with code examples.

History APIJavaScriptSingle Page Application
0 likes · 16 min read
Understanding the Browser History API: Properties, Methods, Events, and Practical Front‑End Applications
JavaScript
JavaScript
Mar 5, 2021 · Frontend Development

Unlock JavaScript Power: 6 Essential Operators Every Developer Should Master

Explore six powerful JavaScript operators—including spread, Set, ternary, template literals, optional chaining, and nullish coalescing—through clear explanations and code snippets, showing how they simplify code, enhance readability, and boost efficiency in modern front‑end development.

CodeExamplesES2020JavaScript
0 likes · 5 min read
Unlock JavaScript Power: 6 Essential Operators Every Developer Should Master
21CTO
21CTO
Mar 4, 2021 · Fundamentals

Why JavaScript Still Leads the RedMonk 2021 Language Rankings

RedMonk’s February 2021 programming language ranking places JavaScript at the top, followed by Python, Java, and PHP, using GitHub pull‑request data and Stack Overflow activity to gauge popularity, and notes that half of the top‑20 languages have shifted unusually compared to the previous year.

JavaScriptLanguage PopularityPython
0 likes · 3 min read
Why JavaScript Still Leads the RedMonk 2021 Language Rankings
vivo Internet Technology
vivo Internet Technology
Mar 3, 2021 · Frontend Development

Understanding Tapable: Architecture, Hook Types, and Practical Applications

Tapable powers Webpack’s extensible workflow by providing a dynamic function generator and a suite of over ten hook classes—such as SyncHook, AsyncSeriesWaterfallHook, and AsyncParallelHook—that let developers compose synchronous, asynchronous, bail‑out, waterfall, and looping pipelines, illustrated by a jQuery.ajax‑style service where each request phase is modularly plugged in.

HooksJavaScriptPlugin Architecture
0 likes · 18 min read
Understanding Tapable: Architecture, Hook Types, and Practical Applications
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 3, 2021 · Frontend Development

Mastering JavaScript Memory Management: GC Algorithms and Performance Tips

Understanding how JavaScript manages memory, this article explains garbage collection concepts such as Stop‑The‑World pauses, reference counting, mark‑sweep, mark‑compact, incremental marking, and V8’s generational strategies, while offering practical code examples and optimization techniques to prevent leaks and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 14 min read
Mastering JavaScript Memory Management: GC Algorithms and Performance Tips
政采云技术
政采云技术
Mar 2, 2021 · Fundamentals

Implementing a Binary Heap in JavaScript

This article explains the concepts of binary trees and binary heaps, describes their relationship, and provides a complete JavaScript implementation—including initialization, heapify, insertion, deletion, and sorting—illustrated with diagrams and runnable code examples.

JavaScriptbinary heapsorting
0 likes · 13 min read
Implementing a Binary Heap in JavaScript
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 2, 2021 · Frontend Development

How Ant’s ‘Five Blessings’ 3D Spring Promotion Was Built with Oasis Engine

This article details the technical implementation of Ant Group’s annual Five Blessings Spring promotion, covering the business breakdown, 3D scene construction using the Oasis engine, sliding control logic, visual effects, and extensive performance optimizations for memory, texture, buffers, and loading on mobile web.

3D renderingJavaScriptOasis Engine
0 likes · 16 min read
How Ant’s ‘Five Blessings’ 3D Spring Promotion Was Built with Oasis Engine
New Oriental Technology
New Oriental Technology
Mar 1, 2021 · Frontend Development

Manhattan Routing Algorithm Implementation for Diagram Connections

This article explains the Manhattan routing algorithm used for automatic orthogonal connection routing in diagram tools, discusses its origins, references useful libraries like draw2d, and provides a full TypeScript implementation with code examples and practical application scenarios.

AlgorithmJavaScriptManhattan routing
0 likes · 8 min read
Manhattan Routing Algorithm Implementation for Diagram Connections
The Dominant Programmer
The Dominant Programmer
Feb 27, 2021 · Backend Development

How to Generate QR Code Images with SpringBoot, ZXing, and Vue

This guide demonstrates how to integrate ZXing into a SpringBoot backend to generate QR code images, expose them via a REST endpoint, and display the QR codes in a Vue front‑end dialog by fetching the image as a blob and rendering it with Element UI components.

JavaJavaScriptQR code
0 likes · 14 min read
How to Generate QR Code Images with SpringBoot, ZXing, and Vue
Taobao Frontend Technology
Taobao Frontend Technology
Feb 26, 2021 · Fundamentals

Which New JavaScript Proposals Advanced to Stage 4 in the Jan 2024 TC39 Meeting?

The January 29 TC39 meeting reviewed progress on dozens of ECMAScript proposals, outlining the criteria for moving from Stage 3 to Stage 4, Stage 2 to Stage 3, and Stage 1 to Stage 2, and highlighting key features such as Intl.DateTimeFormat.formatRange, JSON Modules, Private‑in, class static blocks, resizable array buffers, and new Intl APIs.

ECMAScriptJavaScriptStage 4
0 likes · 24 min read
Which New JavaScript Proposals Advanced to Stage 4 in the Jan 2024 TC39 Meeting?
KooFE Frontend Team
KooFE Frontend Team
Feb 24, 2021 · Frontend Development

Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices

This article examines the long‑standing debate over mandatory semicolons in JavaScript, explains Automatic Semicolon Insertion, shows code examples where omitting them causes errors, compares major style guides, and shares expert opinions to help developers choose a consistent approach.

Code styleJavaScriptbest practices
0 likes · 6 min read
Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices
ByteFE
ByteFE
Feb 24, 2021 · Frontend Development

A Practical Guide to Creating SVG Animations with GSAP and TimelineMax

This tutorial demonstrates how to easily create dynamic SVG animations by leveraging the GreenSock Animation Platform (GSAP), specifically focusing on TimelineMax and staggerFrom methods to manipulate DOM elements, apply easing functions, and sequence complex visual effects with minimal code.

CSS selectorsGSAPJavaScript
0 likes · 7 min read
A Practical Guide to Creating SVG Animations with GSAP and TimelineMax
JavaScript
JavaScript
Feb 24, 2021 · Backend Development

Essential Node.js Skills Every Backend Developer Should Master

This guide outlines the core JavaScript concepts, asynchronous programming fundamentals, package management, HTTP protocols, web frameworks, databases, caching strategies, template engines, real‑time communication, API clients, and testing tools that form a comprehensive learning roadmap for aspiring Node.js backend developers.

JavaScriptNode.jsdatabases
0 likes · 6 min read
Essential Node.js Skills Every Backend Developer Should Master
ByteFE
ByteFE
Feb 23, 2021 · Frontend Development

A Complete Guide to Building Chrome Browser Extensions: Manifest, Background, Content & Popup Scripts

This tutorial explains what browser extensions are, walks through creating a simple Chrome extension with a manifest file, adds icons and a popup page, details background, content‑scripts, inject‑scripts, permissions, inter‑script communication, and demonstrates a practical HTTP‑Header extension example.

Background ScriptChrome ExtensionContent Script
0 likes · 16 min read
A Complete Guide to Building Chrome Browser Extensions: Manifest, Background, Content & Popup Scripts
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 22, 2021 · Fundamentals

What New TC39 Proposals Shaped JavaScript in the January 2024 Meeting?

The TC39 January 29 meeting reviewed progress of multiple proposals advancing to later stages—including Intl.DateTimeFormat.formatRange, JSON Modules, Private‑In, Class Static Initializer Block, ResizableArrayBuffer, new Intl APIs, RegExp enhancements, Array findLast, defer import, and several internationalization extensions—detailing requirements, implementations, and upcoming milestones.

ECMAScriptJavaScriptTC39
0 likes · 23 min read
What New TC39 Proposals Shaped JavaScript in the January 2024 Meeting?
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Frontend Development

Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript

This article presents practical refactoring techniques for JavaScript code, illustrating how to replace callback‑hell request chains with Promise.all and async/await, transform tangled if‑else blocks into pure, modular functions, and adopt clean‑code principles to improve readability, testability, and maintainability.

JavaScriptPromiseRefactoring
0 likes · 10 min read
Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript
ByteFE
ByteFE
Feb 10, 2021 · Frontend Development

Handling Unicode and Supplementary Characters in JavaScript

This article explains how JavaScript processes Unicode characters, demonstrates the limitations of legacy APIs like charCodeAt and fromCharCode with supplementary characters, and introduces modern methods such as codePointAt, fromCodePoint, Unicode escape syntax, surrogate pairs, and polyfills for full Unicode support.

JavaScriptSurrogate PaircodePointAt
0 likes · 10 min read
Handling Unicode and Supplementary Characters in JavaScript
KooFE Frontend Team
KooFE Frontend Team
Feb 9, 2021 · Frontend Development

Which JavaScript Loop Is Fastest? Benchmark Results and Best Use Cases

This article compares the performance of common JavaScript looping constructs—including for, reverse for, forEach, for...of, for...in, and for...await—provides benchmark code on a million‑element array, explains the speed differences, and offers guidance on choosing the right loop for readability and maintainability.

JavaScriptLoopsPerformance
0 likes · 7 min read
Which JavaScript Loop Is Fastest? Benchmark Results and Best Use Cases
Taobao Frontend Technology
Taobao Frontend Technology
Feb 8, 2021 · Frontend Development

How iMove Turns Complex Front‑End Logic into Visual Flowcharts and Ready‑to‑Use Code

This article introduces the open‑source iMove tool, explains why front‑end development faces UI volatility, tangled logic and combined interfaces, and shows how iMove’s visual flow‑chart editor, low‑code node functions, online and local compilation, and automatic npm dependency parsing enable reusable, maintainable, language‑agnostic front‑end solutions.

JavaScriptVisual ProgrammingWorkflow
0 likes · 20 min read
How iMove Turns Complex Front‑End Logic into Visual Flowcharts and Ready‑to‑Use Code
ELab Team
ELab Team
Feb 7, 2021 · Fundamentals

How to Prove JavaScript and TypeScript Are Turing‑Complete Using Partial Recursive Functions

This article explains why implementing partial recursive functions is equivalent to Turing‑completeness, defines the basic functions and operations of partial recursion, demonstrates how common arithmetic can be built from them, and provides JavaScript and TypeScript code that formally proves both languages are Turing‑complete.

Computability theoryJavaScriptPartial recursive functions
0 likes · 14 min read
How to Prove JavaScript and TypeScript Are Turing‑Complete Using Partial Recursive Functions
Baidu App Technology
Baidu App Technology
Feb 4, 2021 · Frontend Development

Mastering Hot Module Replacement in San: Inside san-hot-loader

This article explains how to enable and configure Hot Module Replacement for the San framework using san-hot-loader, covering both San CLI and manual Webpack setups, the underlying HMR workflow, module detection logic, and the core code that injects runtime updates for components and stores.

Hot Module ReplacementJavaScriptSAN
0 likes · 21 min read
Mastering Hot Module Replacement in San: Inside san-hot-loader
JavaScript
JavaScript
Feb 4, 2021 · Frontend Development

13 Essential JavaScript Code Optimizations to Write Cleaner, Faster Code

This article presents thirteen practical JavaScript optimization techniques—including concise conditional checks, streamlined if‑else statements, combined variable declarations, destructuring assignments, logical‑AND shortcuts, arrow functions, ternary calls, object‑based switches, default parameters, spread operators, template literals, and object shorthand—to help developers write cleaner, more efficient code.

JavaScriptcode optimizationfrontend
0 likes · 5 min read
13 Essential JavaScript Code Optimizations to Write Cleaner, Faster Code
JavaScript
JavaScript
Feb 3, 2021 · Frontend Development

Discover Three Underrated JavaScript Frameworks You Should Try

This article introduces three lesser‑known JavaScript frameworks—Svelte, Ember, and Preact—explaining their unique compilation approach, MVC architecture, and lightweight React‑compatible API, while providing code examples to help developers evaluate them as viable alternatives.

EmberJavaScriptPreact
0 likes · 3 min read
Discover Three Underrated JavaScript Frameworks You Should Try
Aotu Lab
Aotu Lab
Feb 2, 2021 · Frontend Development

How EOS-JS Revolutionizes Frontend Code Quality with AST‑Based Scanning

This article examines the challenges of enforcing JavaScript coding standards in large‑scale frontend projects and presents EOS-JS, an AST‑driven static analysis tool that offers modular scanning, automatic fixes, multi‑scenario rule sets, seamless CI integration, and visualized data reporting to improve code quality and maintainability.

ASTEOS-JSJavaScript
0 likes · 12 min read
How EOS-JS Revolutionizes Frontend Code Quality with AST‑Based Scanning
JD Cloud Developers
JD Cloud Developers
Feb 1, 2021 · Frontend Development

How EOS-JS Revolutionizes JavaScript Code Quality with AST‑Based Scanning

This article explains how EOS‑JS, a plugin‑based static analysis tool, uses AST pattern matching to enforce JavaScript coding standards across large front‑end teams, offering automatic fixes, multi‑scenario rule sets, seamless integration, and visualized data statistics to improve code quality and maintenance efficiency.

ASTEOS-JSJavaScript
0 likes · 11 min read
How EOS-JS Revolutionizes JavaScript Code Quality with AST‑Based Scanning
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 1, 2021 · Frontend Development

Mastering WebRTC: From Camera Capture to Screen Sharing in the Browser

This article explains WebRTC fundamentals, covering camera and microphone basics, frame rate and resolution, tracks and streams, the getUserMedia API with constraints and error handling, device enumeration, MediaRecorder for client‑side recording, and screen sharing via getDisplayMedia, all illustrated with practical JavaScript code examples.

JavaScriptMediaRecorderScreen Sharing
0 likes · 13 min read
Mastering WebRTC: From Camera Capture to Screen Sharing in the Browser
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Game Development

How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks

This guide walks you through the core source files of the popular “Big Watermelon” Cocos game, explains its simple click‑collision‑score‑display flow, and shows concrete code snippets for altering the scoring logic or other gameplay tweaks, while hinting at algorithmic optimization.

CocosJavaScriptScore Modification
0 likes · 4 min read
How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Jan 29, 2021 · Frontend Development

Why Rollup Beats Webpack for Building a Simple JS Library

This article compares Webpack and Rollup, explains why Rollup’s tree‑shaking and ES6 module support make it better for a lightweight JavaScript utility library, and provides a step‑by‑step guide to set up the project with TypeScript, ESLint, Prettier, Husky, Commitlint and Jest testing.

ESLintJavaScriptJest
0 likes · 14 min read
Why Rollup Beats Webpack for Building a Simple JS Library
政采云技术
政采云技术
Jan 26, 2021 · Frontend Development

Writing High-Quality Maintainable Code: Elegant Naming

This article explains why clear, meaningful naming is essential for maintainable front‑end code, showcases common bad naming patterns, and provides practical naming rules, conventions, tooling tips, and examples for JavaScript, CSS, and project structures.

JavaScriptNamingbest-practices
0 likes · 11 min read
Writing High-Quality Maintainable Code: Elegant Naming
ByteFE
ByteFE
Jan 26, 2021 · Frontend Development

A Comprehensive Guide to JavaScript Type Checking: Methods, Limitations, and Best Practices

This comprehensive guide examines JavaScript type-checking mechanisms such as typeof, instanceof, constructor, Array.isArray, and Object.prototype.toString, detailing their underlying principles, cross-realm limitations, prototype chain behaviors, and optimal implementation strategies for reliable frontend development.

Cross-RealmJavaScriptObject Prototype
0 likes · 10 min read
A Comprehensive Guide to JavaScript Type Checking: Methods, Limitations, and Best Practices
Open Source Tech Hub
Open Source Tech Hub
Jan 23, 2021 · Frontend Development

Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket

This guide explains how to use WebSocket in a WeChat Mini‑Program to implement real‑time features such as live‑room comments, user join/leave events, likes, follows, and product shelf updates, covering protocol basics, handshake details, API usage, example code, heartbeat monitoring, and automatic reconnection strategies.

HeartbeatJavaScriptReal‑time communication
0 likes · 14 min read
Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket
Taobao Frontend Technology
Taobao Frontend Technology
Jan 22, 2021 · Frontend Development

What 2020’s State of JavaScript Reveals About Syntax, Frameworks, and Tools

2020’s State of JavaScript survey, covering 137 countries and nearly 24,000 developers, highlights which language features, browser APIs, frameworks, and tooling have gained traction or lagged behind, offering insights into current front‑end trends such as the rise of TypeScript, Svelte, esbuild, and the modest adoption of WebAssembly.

JavaScriptSvelteWeb APIs
0 likes · 13 min read
What 2020’s State of JavaScript Reveals About Syntax, Frameworks, and Tools
php Courses
php Courses
Jan 19, 2021 · Mobile Development

Implementing Clipboard Functionality in WeChat Mini Programs

This article guides developers through implementing clipboard detection and paste functionality in WeChat mini programs, covering the use of wx.getClipboardData, regex URL extraction, conditional modal prompts, and provides complete sample code for integration.

JavaScriptWeChat mini programclipboard
0 likes · 4 min read
Implementing Clipboard Functionality in WeChat Mini Programs
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 19, 2021 · Fundamentals

Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples

The article explains JavaScript’s Functor, Applicative, and Monad abstractions—showing how map, ap, and chain (flatMap) on Box types such as Either, LazyBox, and a lazy Task can replace nested try‑catch and null checks, enable composable synchronous and asynchronous code, and support parallel execution with Task.ap.

ApplicativeFunctional ProgrammingJavaScript
0 likes · 20 min read
Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples
ByteFE
ByteFE
Jan 18, 2021 · Frontend Development

State of JS 2020: Trends and Satisfaction of JavaScript Libraries and Frameworks

The article analyzes the State of JS 2020 data, showing how emerging JavaScript libraries, front‑end and back‑end frameworks, testing tools, bundlers and other utilities rank in usage and developer satisfaction, and highlights the rapid rise of TypeScript, Jest, React, Vue.js and newer tools such as esbuild and Snowpack.

FrameworksJavaScriptLibraries
0 likes · 7 min read
State of JS 2020: Trends and Satisfaction of JavaScript Libraries and Frameworks
ByteFE
ByteFE
Jan 13, 2021 · Frontend Development

In‑Depth Analysis of Vue CLI Project Initialization and Plugin Architecture

This article provides a comprehensive walkthrough of Vue CLI's project initialization process, covering command‑line usage, entry‑file discovery, node version validation, intelligent command suggestion, preset handling, the Creator class workflow, prompt modules, plugin integration via Generator and GeneratorAPI, configuration extraction, and the final file generation steps.

CLIJavaScriptNode.js
0 likes · 31 min read
In‑Depth Analysis of Vue CLI Project Initialization and Plugin Architecture
ByteFE
ByteFE
Jan 11, 2021 · Mobile Development

Introduction to React Native: Principles, Architecture, and Practical Implementation

This article introduces React Native, covering its core concepts, cross‑platform features, underlying architecture such as JavaScriptCore, Hermes, the Bridge, Virtual DOM, threading model, hot updates, and provides practical examples for building a modal animation on both iOS and Android.

JavaScriptbridgecross-platform
0 likes · 22 min read
Introduction to React Native: Principles, Architecture, and Practical Implementation
QQ Music Frontend Team
QQ Music Frontend Team
Jan 9, 2021 · Frontend Development

What’s New in Vue 3? A Deep Dive into Architecture, Reactivity, and Vite

This article provides a comprehensive overview of Vue 3, covering its evolution from Vue 2, key new features such as TypeScript support, the Composition API, performance optimizations, the modular monorepo structure, the reactivity system built on Proxy, and the Vite development server that powers its ecosystem.

Composition APIJavaScriptReactivity
0 likes · 28 min read
What’s New in Vue 3? A Deep Dive into Architecture, Reactivity, and Vite
Didi Tech
Didi Tech
Jan 7, 2021 · Mobile Development

Introduction to Hummer: An Ultra‑Lightweight Dynamic Cross‑Platform Development Framework

Hummer, an ultra‑lightweight, dynamic cross‑platform framework co‑created by DiDi’s Puhui and R‑Lab front‑end teams, delivers sub‑1 MB packages, near‑native performance, and a low learning curve via its Tenon reactive API, supporting iOS, Android, and Vue‑based web, and is already deployed at scale across numerous DiDi services with a crash rate below 0.01 %.

Dynamic UIHummerJavaScript
0 likes · 7 min read
Introduction to Hummer: An Ultra‑Lightweight Dynamic Cross‑Platform Development Framework
vivo Internet Technology
vivo Internet Technology
Jan 6, 2021 · Frontend Development

Master D3.js: From Core Modules to Building a Custom Bar Chart

This article explains D3.js fundamentals—including its selection, join, and scale modules—then walks through a step‑by‑step implementation of a fully customized bar chart using SVG, demonstrating how to bind data, create axes, and add interactive tooltips.

D3.jsInteractive ChartsJavaScript
0 likes · 11 min read
Master D3.js: From Core Modules to Building a Custom Bar Chart
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Jan 6, 2021 · Frontend Development

Build Your Own MVVM Framework from Scratch with JavaScript

This article walks through the complete implementation of a lightweight MVVM framework—covering Object.defineProperty data hijacking, proxying, template compilation, publish‑subscribe reactivity, two‑way binding, computed properties and lifecycle hooks—using plain JavaScript.

JavaScriptMVVMObject.defineProperty
0 likes · 14 min read
Build Your Own MVVM Framework from Scratch with JavaScript
Programmer DD
Programmer DD
Jan 1, 2021 · Frontend Development

How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables

During a weekend browsing session, I discovered Chrome's offline Dino game, inspected its global JavaScript objects, filtered out native properties using a fresh window, identified the Runner constructor, and manipulated its methods to control the dinosaur's behavior—all without altering the source code.

ChromeDino GameJavaScript
0 likes · 6 min read
How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables
php Courses
php Courses
Dec 31, 2020 · Frontend Development

Five Free 2021 New Year Countdown Effect Source Codes

This article introduces five free, downloadable JavaScript/CSS3 countdown effect templates for the 2021 New Year, each with a brief description, preview image, and direct download link for developers to integrate into their web projects.

CountdownJavaScriptWeb animation
0 likes · 3 min read
Five Free 2021 New Year Countdown Effect Source Codes
Taobao Frontend Technology
Taobao Frontend Technology
Dec 30, 2020 · Frontend Development

Why Assigning Beyond Array Length Saves Memory in V8

An in‑depth analysis shows why assigning a value at index 99999 in a large JavaScript array triggers V8 to switch from fast to slow (dictionary) mode, dramatically reducing memory usage by expanding capacity and converting holey arrays into a more efficient storage structure.

ArrayJavaScriptNode.js
0 likes · 5 min read
Why Assigning Beyond Array Length Saves Memory in V8
Baidu App Technology
Baidu App Technology
Dec 29, 2020 · Frontend Development

San DevTools Technical Analysis – Message Channel and DevTools Protocol

San DevTools implements a four‑module remote‑debugging architecture where the Message Channel uses WebSocket to multiplex bidirectional frontend‑backend communication, Chrome extensions exchange messages via ports and postMessage, and both a custom San DevTools Protocol and the standard Chrome DevTools Protocol are supported through hook‑based agents and client examples.

Chrome ExtensionDevTools ProtocolJavaScript
0 likes · 19 min read
San DevTools Technical Analysis – Message Channel and DevTools Protocol
Beike Product & Technology
Beike Product & Technology
Dec 24, 2020 · Frontend Development

Building a VS Code Extension to Add Prefixes to console.log Output

This tutorial explains how to create a VS Code extension that automatically prefixes console.log statements with custom identifiers, covering project scaffolding, key file structures, activation events, command registration, implementation details, debugging, and publishing to the marketplace.

DebuggingExtensionJavaScript
0 likes · 8 min read
Building a VS Code Extension to Add Prefixes to console.log Output
360 Tech Engineering
360 Tech Engineering
Dec 18, 2020 · Frontend Development

Cancelling Duplicate Axios Requests and Building a Reusable Wrapper

This guide explains the scenarios that cause duplicate HTTP requests in web applications, demonstrates two Axios cancellation techniques, and shows how to encapsulate the logic in a reusable module with request tracking, interceptor integration, npm linking, and open‑source contribution steps.

JavaScriptaxioscancellation
0 likes · 9 min read
Cancelling Duplicate Axios Requests and Building a Reusable Wrapper
Top Architect
Top Architect
Dec 18, 2020 · Frontend Development

A Curated List of Over 70 Open‑Source Projects from Baidu

This article presents a comprehensive catalog of more than seventy Baidu‑released open‑source projects, spanning front‑end UI libraries, data‑visualization tools, mobile frameworks, backend services, RPC frameworks, databases, AI platforms, and various development utilities for developers to explore and adopt.

BaiduJavaScriptLibraries
0 likes · 21 min read
A Curated List of Over 70 Open‑Source Projects from Baidu
php Courses
php Courses
Dec 17, 2020 · Backend Development

Customizing ThinkPHP 3.2 Error Page with a Personalized Template

This guide explains how to replace ThinkPHP's default error page by adding configuration entries and creating a custom HTML template, including CSS styling and JavaScript for automatic redirects, providing a more attractive and functional error display.

Error PageHTMLJavaScript
0 likes · 6 min read
Customizing ThinkPHP 3.2 Error Page with a Personalized Template
ITPUB
ITPUB
Dec 15, 2020 · Frontend Development

Mastering Large File Uploads in the Browser: Chunking, Resume, and Progress

This article explores the challenges of uploading massive files from the browser, compares traditional form, iframe, FormData, and base64 methods, and provides detailed JavaScript and PHP examples for implementing chunked uploads, resumable transfers, and progress monitoring.

Chunked UploadJavaScriptLarge File Upload
0 likes · 11 min read
Mastering Large File Uploads in the Browser: Chunking, Resume, and Progress
Wukong Talks Architecture
Wukong Talks Architecture
Dec 15, 2020 · Frontend Development

WeChat Mini Program Video Component: Best Practices, Pitfalls, and Implementation Guide

This article presents a comprehensive guide on using the WeChat Mini Program video component, covering component import, property configurations, event handling, API usage, layout strategies, permission logic, network interaction, fullscreen handling, playback continuity, URL expiration management, and eight common pitfalls to avoid.

JavaScriptWeChat mini programfrontend development
0 likes · 19 min read
WeChat Mini Program Video Component: Best Practices, Pitfalls, and Implementation Guide
Sensors Frontend
Sensors Frontend
Dec 14, 2020 · Frontend Development

Top Frontend Techniques: Micro‑Frontends, CSS @apply, Canvas Signatures, SSR & More

Explore a curated collection of cutting‑edge frontend knowledge—including a zero‑cost micro‑frontend framework, reasons to drop CSS @apply, canvas‑based electronic signatures with PDF output, large‑scale SSR strategies, Chrome 87 enhancements, ECMAScript 2021 features, XSS defenses, automated SVG icon delivery, ESLint best practices, JavaScript metaprogramming, node_modules pitfalls, Monorepo management, and Rax mini‑program runtime insights.

DevOpsJavaScriptSecurity
0 likes · 10 min read
Top Frontend Techniques: Micro‑Frontends, CSS @apply, Canvas Signatures, SSR & More
php Courses
php Courses
Dec 14, 2020 · Mobile Development

Implementing Clipboard Functionality in WeChat Mini Programs

This tutorial demonstrates how to detect, extract, and paste content copied from WeChat into a Mini Program by using the wx.getClipboardData API, applying regular‑expression matching, and displaying a confirmation modal only when the clipboard data differs from the previously stored value.

JavaScriptWeChat mini programregex
0 likes · 4 min read
Implementing Clipboard Functionality in WeChat Mini Programs
Top Architect
Top Architect
Dec 13, 2020 · Frontend Development

Comprehensive Overview of Browser Rendering Process and HTTP Request Flow

This article provides a detailed, step‑by‑step explanation of how a browser processes a simple HTTP request—from URL parsing, DNS lookup, and TCP connection through server handling, response reception, HTML/CSS parsing, layout, painting, reflow/repaint, and JavaScript execution—highlighting key concepts, optimizations, and common pitfalls.

BrowserDNSJavaScript
0 likes · 16 min read
Comprehensive Overview of Browser Rendering Process and HTTP Request Flow
Alibaba Terminal Technology
Alibaba Terminal Technology
Dec 10, 2020 · Frontend Development

How JavaScript Dominated the Web: Front‑End Innovations at Alibaba’s D2 Forum

This article explores the evolution of front‑end technology from early web effects to modern interactive media, detailing Alibaba's comprehensive interactive platform, the shift beyond mere efficiency, the impact of serverless architectures, and the expanding role of front‑end engineers in business‑driven product development.

AlibabaJavaScriptfrontend
0 likes · 12 min read
How JavaScript Dominated the Web: Front‑End Innovations at Alibaba’s D2 Forum
php Courses
php Courses
Dec 7, 2020 · Frontend Development

Five Creative jQuery Back-to-Top Effects with Code and Download Links

This article introduces five distinctive jQuery-powered back‑to‑top animations—including a cartoon character, rocket launcher, starry rocket, floating rocket, and a music‑ding effect—explaining their visual style, providing brief descriptions, and offering download URLs for the source code.

Back-to-TopJavaScriptUI Effects
0 likes · 3 min read
Five Creative jQuery Back-to-Top Effects with Code and Download Links
Sensors Frontend
Sensors Frontend
Dec 7, 2020 · Frontend Development

Top Frontend Insights: Micro‑Frontends, G6, Code Quality, CDN, CSS & More

This curated collection presents concise overviews of recent front‑end advancements, covering micro‑frontend architecture in Xiaomi CRM, G6 4.0 visual analytics, code‑quality best practices, 2020's hottest technologies, CDN fundamentals, CSS trends, component design, TypeScript popularity, VSCode inspection tools, watermark techniques, GPU.js acceleration, React DOM manipulation, and the top JS13K 2020 games.

JavaScriptMicro FrontendsTypeScript
0 likes · 9 min read
Top Frontend Insights: Micro‑Frontends, G6, Code Quality, CDN, CSS & More
21CTO
21CTO
Dec 4, 2020 · Frontend Development

Why JavaScript Celebrates Its Birthday: 25 Years of Web Dominance

Celebrating JavaScript’s 25th anniversary, this article traces its rapid 10‑day creation in 1995, its evolution into the world’s most popular language, the rise of TypeScript, the impact of V8, and emerging technologies like WebAssembly that extend its influence across the web.

JavaScriptTypeScriptWebAssembly
0 likes · 7 min read
Why JavaScript Celebrates Its Birthday: 25 Years of Web Dominance