Tagged articles

JavaScript

2481 articles · Page 15 of 25
Xueersi 1-on-1 Technology Team
Xueersi 1-on-1 Technology Team
Oct 14, 2021 · Frontend Development

Mastering Theme Switching: 8 Proven Methods to Implement Dark/Light Modes in Web Apps

This article explores eight practical techniques for implementing theme switching in web applications—including class toggling, stylesheet swapping, CSS variables, alternate rel links, Less modifyVars, Ant Design/Vant custom themes, Element‑UI dynamic theming, and JSS—detailing code snippets, advantages, and limitations of each approach.

CSSDark ModeJSS
0 likes · 11 min read
Mastering Theme Switching: 8 Proven Methods to Implement Dark/Light Modes in Web Apps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 14, 2021 · Frontend Development

Building a Simple Hongxing Erke Clone with WeChat Mini Program Cloud Development

This article walks through creating a lightweight Hongxing Erke‑style e‑commerce mini‑program using WeChat's cloud development, covering tool setup, cloud database design, UI layout, tabBar customization, data loading, pagination, sorting, and detail‑page navigation with practical code examples and common pitfalls.

Cloud DatabaseJavaScriptTutorial
0 likes · 15 min read
Building a Simple Hongxing Erke Clone with WeChat Mini Program Cloud Development
Sohu Tech Products
Sohu Tech Products
Oct 14, 2021 · Backend Development

Design and Implementation of Full‑Chain Tracing for Node.js Applications Using Async Hooks

This article explains the necessity, design principles, and concrete implementation of a full‑chain tracing system for Node.js applications, covering architecture choices, industry solutions, core Async Hooks concepts, the zone‑context framework, invoke‑tree construction, garbage collection, and practical demo code.

Full-Chain TracingJavaScriptNode.js
0 likes · 18 min read
Design and Implementation of Full‑Chain Tracing for Node.js Applications Using Async Hooks
ELab Team
ELab Team
Oct 13, 2021 · Frontend Development

How V8 Supercharges JavaScript: Inside the Engine’s Magic

This article explores the V8 JavaScript engine’s architecture, from its historical origins and source‑code acquisition to its loading strategies, lexical analysis, parsing, compilation, and execution optimizations, illustrating how V8 achieves high performance in browsers and Node.js.

CompilationEngineJIT
0 likes · 23 min read
How V8 Supercharges JavaScript: Inside the Engine’s Magic
TikTok Frontend Technology Team
TikTok Frontend Technology Team
Oct 13, 2021 · Frontend Development

A Historical Overview and Fundamentals of JavaScript Frameworks

This article reviews the evolution of JavaScript frameworks over the past three decades, defines what constitutes a framework, explains their core concepts of constraint and support, and analyzes how changing web requirements have driven the development of modern front‑end architectures.

JavaScriptdeclarative programmingfrontend development
0 likes · 23 min read
A Historical Overview and Fundamentals of JavaScript Frameworks
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Oct 13, 2021 · Frontend Development

Understanding RxJS: Core Concepts, Operators, and Practical Implementations

This article introduces RxJS, explains its reactive programming paradigm, core concepts such as Observables, Observers, Subjects, Operators and Schedulers, and demonstrates practical implementations like a draggable ball and toast notifications, providing code examples and best‑practice guidance for front‑end developers.

JavaScriptObservablesReactive Programming
0 likes · 11 min read
Understanding RxJS: Core Concepts, Operators, and Practical Implementations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2021 · Frontend Development

Understanding Event Bubbling and Capturing in JavaScript

This article explains JavaScript’s event flow, detailing the three phases of capturing, target, and bubbling, demonstrates how to use addEventListener with the useCapture flag, and shows practical techniques for handling, delegating, and stopping event propagation in web applications.

DOMEvent BubblingEvent Capturing
0 likes · 10 min read
Understanding Event Bubbling and Capturing in JavaScript
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 11, 2021 · Frontend Development

DrawIO Secondary Development: A Comprehensive Technical Guide

This guide walks developers through DrawIO secondary development, explaining why integration is needed, how to set up Java/Ant, clone and build the source, configure dev mode, deploy via various platforms, and use core APIs like getCurrentFile and loadFile, with a starter scaffold on GitHub.

Diagram ToolDrawioJavaScript
0 likes · 23 min read
DrawIO Secondary Development: A Comprehensive Technical Guide
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 8, 2021 · Backend Development

Which Node.js Core Utilities Should You Upgrade? A Hands‑On Comparison

This article reviews a series of common Node.js utilities—type checking, async sleep, file handling, streams, HTTP requests, assertions, code coverage, debugging, deprecation warnings, source‑maps, child processes, and CLI testing—comparing community packages with built‑in APIs, rating their replaceability, and offering practical migration advice for modern Node.js development.

BackendJavaScriptNode.js
0 likes · 21 min read
Which Node.js Core Utilities Should You Upgrade? A Hands‑On Comparison
Programmer DD
Programmer DD
Oct 6, 2021 · Frontend Development

Make Coding Fun with the Chuncai Desktop Companion Plugin

During the holiday the author introduces Chuncai, an open‑source desktop companion plugin that greets developers, displays messages, and can be customized, then provides the full JavaScript implementation, configuration details, Tuling API integration, and step‑by‑step instructions for embedding it into a web page.

JavaScriptTuling APIdesktop widget
0 likes · 7 min read
Make Coding Fun with the Chuncai Desktop Companion Plugin
Hacker Afternoon Tea
Hacker Afternoon Tea
Oct 5, 2021 · Operations

Distributed Tracing 101: A Full‑Stack Guide with Sentry (Part 1)

This tutorial introduces full‑stack developers to distributed tracing, explaining core concepts such as spans, traces, identifiers, and trace context, and walks through a concrete JavaScript example that generates and propagates trace metadata across a browser app, API server, and background worker, while also covering logging challenges, OpenTelemetry, and Sentry’s monitoring features.

JavaScriptNode.jsOpenTelemetry
0 likes · 12 min read
Distributed Tracing 101: A Full‑Stack Guide with Sentry (Part 1)
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2021 · Fundamentals

Understanding JavaScript Generators: Beyond Async/Await and Infinite Sequences

This article clarifies the misconception that JavaScript generators are only for async, explains their underlying pause‑and‑resume mechanism, demonstrates how they can model infinite sequences such as prime numbers by translating Haskell concepts, and shows practical API designs using generators.

Functional ProgrammingHaskellInfinite Sequences
0 likes · 7 min read
Understanding JavaScript Generators: Beyond Async/Await and Infinite Sequences
Taobao Frontend Technology
Taobao Frontend Technology
Sep 27, 2021 · Frontend Development

Front‑End Highlights: Nuxt 3 Launch, Learning Games, and Fresh Open‑Source Tools

This roundup covers the upcoming Nuxt 3 release with performance upgrades, the retirement of layui, interactive front‑end learning games, new zero‑config frameworks like siroc, a faster coloring tool Nano Colors, the unified unplugin system, Tailwind Mobile component library, plus articles on Tubi engineer culture and Rome's migration to Rust.

JavaScriptNuxt 3Rust
0 likes · 9 min read
Front‑End Highlights: Nuxt 3 Launch, Learning Games, and Fresh Open‑Source Tools
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2021 · Frontend Development

Migrating a Vue 2 Project from Vue CLI to Vite: Step‑by‑Step Guide

This article provides a comprehensive step‑by‑step guide for migrating a Vue 2 project built with Vue CLI to Vite, covering project structure analysis, removal of Vue CLI dependencies, configuration changes, handling of environment variables, alias setup, JSX support, asset handling, and additional build optimizations.

Build ToolsJavaScriptVite+
0 likes · 20 min read
Migrating a Vue 2 Project from Vue CLI to Vite: Step‑by‑Step Guide
Programmer DD
Programmer DD
Sep 27, 2021 · Frontend Development

Is LayUI’s Shutdown a Signal of Shifting Frontend Trends?

The article examines LayUI’s impending shutdown, its simple yet practical design for backend developers, distinctive visual appeal, the paid LayAdmin extension, technical limitations such as its custom module system and mobile support, and speculates on why the project is being discontinued.

JavaScriptLayuiUI
0 likes · 6 min read
Is LayUI’s Shutdown a Signal of Shifting Frontend Trends?
DeWu Technology
DeWu Technology
Sep 24, 2021 · Frontend Development

Canceling Duplicate HTTP Requests in Front-End Development

The article explains how front‑end developers can prevent duplicate or stale HTTP calls by identifying identical requests with a unique key, then canceling them using Axios’s CancelToken or Fetch’s AbortController—integrated via React hooks, Axios interceptors, and route‑change cleanup.

HTTPJavaScriptReAct
0 likes · 10 min read
Canceling Duplicate HTTP Requests in Front-End Development
Xueersi 1-on-1 Technology Team
Xueersi 1-on-1 Technology Team
Sep 23, 2021 · Frontend Development

How to Detect, Diagnose, and Fix Memory Leaks in Vue Single-Page Apps

This article explains what memory leaks are, how to identify them in Vue SPA projects using Chrome's memory tools, lists common leak patterns, and provides practical code‑level solutions—including proper event unbinding, timer cleanup, and correct use of keep‑alive—to keep your application performant.

JavaScriptMemory LeakPerformance
0 likes · 8 min read
How to Detect, Diagnose, and Fix Memory Leaks in Vue Single-Page Apps
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 23, 2021 · Backend Development

Mastering Commander.js: Build Powerful Node.js CLIs with Ease

This comprehensive guide walks you through installing Commander.js, declaring program variables, defining options (including booleans, required, variadic, and default values), creating commands and arguments, customizing help output, using hooks, handling async actions, and advanced parsing configurations for robust Node.js command‑line applications.

CLICommander.jsJavaScript
0 likes · 27 min read
Mastering Commander.js: Build Powerful Node.js CLIs with Ease
ByteFE
ByteFE
Sep 23, 2021 · Frontend Development

Building a 1‑to‑1 WebRTC Real‑Time Audio/Video Call in the Browser

This article explains how to create a browser‑based 1‑to‑1 real‑time audio/video communication application using WebRTC APIs, covering media capture, SDP and ICE handling, signaling with socket.io, peer‑to‑peer connection setup, data channels, and NAT traversal techniques.

JavaScriptRTCPeerConnectionSTUN
0 likes · 15 min read
Building a 1‑to‑1 WebRTC Real‑Time Audio/Video Call in the Browser
ELab Team
ELab Team
Sep 22, 2021 · Frontend Development

Can Web Components Replace Frontend Frameworks? A Deep Dive

This article examines why modern frontend developers adopt frameworks, outlines their advantages and drawbacks, and then explores Web Components—custom elements, Shadow DOM, and HTML templates—as native alternatives that could potentially replace framework‑based componentization while preserving performance and compatibility.

JavaScriptcustom elementsfrontend frameworks
0 likes · 30 min read
Can Web Components Replace Frontend Frameworks? A Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Sep 17, 2021 · Frontend Development

Ten Vue.js Performance Optimization Techniques

This guide outlines ten Vue.js performance optimization techniques—including using stable keys in v‑for, freezing immutable data, defining component data as a function, lazy‑loading components, separating non‑reactive data, employing event delegation, leveraging functional components, and using provide/inject—to boost rendering speed, cut memory usage, and simplify maintenance.

JavaScriptLazy LoadingPerformance
0 likes · 13 min read
Ten Vue.js Performance Optimization Techniques
Tencent Cloud Developer
Tencent Cloud Developer
Sep 16, 2021 · Frontend Development

Understanding WebAssembly: Introduction, Setup, and Performance Evaluation

WebAssembly is a portable, low‑size binary format that complements JavaScript by letting C, C++, Rust, and other languages compile to fast‑loading modules, offering near‑native speed, easy macOS setup with Emscripten, measurable performance gains such as a 1.9× speed‑up on recursive Fibonacci, and seamless interaction with JavaScript for compute‑heavy web applications.

EmscriptenJavaScriptPerformance
0 likes · 10 min read
Understanding WebAssembly: Introduction, Setup, and Performance Evaluation
Taobao Frontend Technology
Taobao Frontend Technology
Sep 14, 2021 · Frontend Development

Uncover the History and Core Features of Monaco Editor, the Web‑Based Code Editor Behind VS Code

Monaco Editor, the browser‑based code editor powering VS Code, originated in 2011 under Erich Gamma’s team, offers a lightweight editor control with rich UI widgets, and Monarch‑based syntax highlighting, and LSP‑compatible APIs, making it ideal for embedding advanced editing features into any web application.

JavaScriptLanguage SupportMonaco Editor
0 likes · 9 min read
Uncover the History and Core Features of Monaco Editor, the Web‑Based Code Editor Behind VS Code
Java High-Performance Architecture
Java High-Performance Architecture
Sep 14, 2021 · Frontend Development

Automate Vue2 to Vue3 Migration with GoGoCode: A Step‑by‑Step Guide

This article explains how to use the GoGoCode CLI tool to automatically convert Vue 2 projects to Vue 3 by following the official migration guide, installing the tool, running conversion commands, reviewing generated code, and handling common break‑change scenarios such as async components, custom directives, and API updates.

CLIGoGoCodeJavaScript
0 likes · 8 min read
Automate Vue2 to Vue3 Migration with GoGoCode: A Step‑by‑Step Guide
ELab Team
ELab Team
Sep 10, 2021 · Frontend Development

Mastering the State Pattern: Light Switch to Finite State Machines in JS

This article explains why using if‑else for state handling violates the Open‑Closed Principle, introduces the State design pattern with a light‑switch example, demonstrates its implementation in JavaScript (including class‑based and functional FSM libraries), and compares it to the Strategy pattern.

Design PatternsFinite State MachineJavaScript
0 likes · 17 min read
Mastering the State Pattern: Light Switch to Finite State Machines in JS
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 10, 2021 · Frontend Development

New TC39 Stage 3‑4 Proposals: .at(), Object.hasOwn, Pipeline Operator, and More

The article reviews the recent TC39 meeting, outlines the criteria for advancing proposals to Stage 4, and explains several upcoming ECMAScript features—including the relative‑indexing .at() method, Object.hasOwn, class static initialization blocks, the pipeline operator, and other proposals—providing code examples and implementation status.

ECMAScript proposalsJavaScriptTC39
0 likes · 17 min read
New TC39 Stage 3‑4 Proposals: .at(), Object.hasOwn, Pipeline Operator, and More
ByteFE
ByteFE
Sep 9, 2021 · Frontend Development

How to Build a Canvas‑Based Image Cropping Hook in React

This article explains how to create a reusable React hook that uses two canvas layers to let users select a region on an image, shows a gray‑out overlay with a border during selection, and returns the cropped area as a base64 PNG, including full implementation details and future enhancements.

CanvasImage CroppingJavaScript
0 likes · 12 min read
How to Build a Canvas‑Based Image Cropping Hook in React
ByteFE
ByteFE
Sep 8, 2021 · Frontend Development

Implementing Sorting Algorithm Visualizations with JavaScript and Canvas

This article explains how to create animated visualizations of 50 sorting algorithms using JavaScript and the HTML5 canvas by converting array elements into polar coordinates, randomizing their positions, and redrawing the canvas step‑by‑step during the sorting process, complete with full source code examples.

Algorithm AnimationJavaScriptSorting Algorithms
0 likes · 20 min read
Implementing Sorting Algorithm Visualizations with JavaScript and Canvas
Taobao Frontend Technology
Taobao Frontend Technology
Sep 6, 2021 · Frontend Development

Latest Electron 14 Release, React Native Updates, and Key JavaScript Insights

This roundup covers the Electron 14.0.0 release with new eight‑week cadence and expanded support, StackBlitz's quick Nuxt.js creation, notable open‑source libraries like react‑native‑elements and 7guis‑React‑TypeScript‑MobX, plus deep dives into NestJS practices, React Native's new architecture, Recoil state management, and a comparison of Object versus Map in JavaScript.

Backend DevelopmentElectronJavaScript
0 likes · 6 min read
Latest Electron 14 Release, React Native Updates, and Key JavaScript Insights
Taobao Frontend Technology
Taobao Frontend Technology
Sep 2, 2021 · Frontend Development

Why Front-End Developers Must Master Functional Programming and React Hooks

This article explores the history and principles of functional programming, explains why it has become essential for front‑end developers, demonstrates how React class components can be replaced by functional components using hooks, and provides practical examples of pure functions, functors, monads, memoization, and related design patterns in JavaScript.

Functional ProgrammingJavaScriptReAct
0 likes · 21 min read
Why Front-End Developers Must Master Functional Programming and React Hooks
TAL Education Technology
TAL Education Technology
Sep 2, 2021 · Frontend Development

Understanding and Solving Memory Leaks in Vue Single‑Page Applications

This article explains what memory leaks are in JavaScript, how to detect them using Chrome's memory tools, enumerates common causes in Vue SPAs, and provides practical solutions and code examples—including event unbinding and keep‑alive refactoring—to effectively eliminate leaks and improve performance.

JavaScriptMemory LeakPerformance
0 likes · 7 min read
Understanding and Solving Memory Leaks in Vue Single‑Page Applications
ByteFE
ByteFE
Sep 2, 2021 · Frontend Development

Modern Web Development Survey Report: Insights on Languages, Frameworks, Tools, and Practices

The Modern.js developer survey of 612 respondents reveals that ES6+ and TypeScript dominate JavaScript usage, while React and Vue lead UI frameworks, CSS preprocessors like Less and SCSS remain popular, and tools such as Webpack, Vite, and VSCode are widely adopted across frontend and backend development workflows.

CSSFrameworksJavaScript
0 likes · 12 min read
Modern Web Development Survey Report: Insights on Languages, Frameworks, Tools, and Practices
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 1, 2021 · Frontend Development

Why Front‑End Developers Must Master Functional Programming and React Hooks

This article explores the history and resurgence of functional programming, explains why it is essential for modern front‑end development, demonstrates class and function components in React, introduces hooks, functors, monads, partial application, memoization, and provides practical code examples for building robust, side‑effect‑free UI logic.

Functional ProgrammingJavaScriptMonad
0 likes · 19 min read
Why Front‑End Developers Must Master Functional Programming and React Hooks
政采云技术
政采云技术
Aug 31, 2021 · Frontend Development

Minimal Inventory in E‑commerce: SKU and Algorithm Implementation

This article explains the theory and practice of handling SKU (Stock Keeping Unit) in e‑commerce platforms, covering product creation, cart selection, Cartesian‑product based SKU generation, adjacency‑matrix and set‑theory approaches, and provides complete JavaScript implementations for front‑end developers.

JavaScriptcartesian producte-commerce
0 likes · 18 min read
Minimal Inventory in E‑commerce: SKU and Algorithm Implementation
ByteDance Terminal Technology
ByteDance Terminal Technology
Aug 31, 2021 · Frontend Development

ByteDance Modern Web Development Survey Report (2021)

The 2021 ByteDance Modern Web Development survey of 612 developers reveals dominant use of ES6+, TypeScript, Vue and React, widespread adoption of CSS preprocessors, varied backend preferences, and preferred tooling such as Webpack, VSCode, and Prettier, highlighting current trends and gaps in the Chinese front‑end ecosystem.

CSSJavaScriptReAct
0 likes · 10 min read
ByteDance Modern Web Development Survey Report (2021)
php Courses
php Courses
Aug 31, 2021 · Mobile Development

React Native and H5 Interaction: Communication Methods and Code Examples

This article explains how to enable two-way communication between React Native and H5 pages using WebView, covering message handling in both directions, code examples for sending and receiving data, and important migration notes from the built‑in WebView to react‑native‑webview.

AndroidH5JavaScript
0 likes · 5 min read
React Native and H5 Interaction: Communication Methods and Code Examples
ByteFE
ByteFE
Aug 30, 2021 · Frontend Development

Deep Dive into Axios: Core Architecture, Request Flow, and Customization

This article provides a comprehensive analysis of Axios, covering its core directory structure, internal request/response flow, interceptor mechanism, data transformation, adapter handling, and ways to customize or replace default behavior, illustrated with extensive source code excerpts.

AdapterFront‑endHTTP
0 likes · 18 min read
Deep Dive into Axios: Core Architecture, Request Flow, and Customization
Architecture Digest
Architecture Digest
Aug 29, 2021 · Backend Development

Implementing High‑Performance Large File HTTP Upload with Resume Support Using C Server and HTML5/JavaScript

This article explains how to build a high‑performance large‑file HTTP upload system with breakpoint resume, detailing server‑side C implementation, immediate disk writes, client‑side hash generation, cookie‑based IDs, and JavaScript code for chunked uploading, progress tracking, and error handling.

C serverHTML5HTTP resume
0 likes · 10 min read
Implementing High‑Performance Large File HTTP Upload with Resume Support Using C Server and HTML5/JavaScript
ByteDance Web Infra
ByteDance Web Infra
Aug 27, 2021 · Frontend Development

ESM Package Distribution and Next‑Generation Unbundled Development Tools

This article explains how ESM package distribution services convert npm packages to ESModule format, why such distribution is needed for modern browsers, the technical challenges involved, proposed solutions, and how these services can be combined with next‑generation unbundled development tools like Vite and Snowpack to dramatically speed up dependency installation and development server startup.

CDNESMJavaScript
0 likes · 14 min read
ESM Package Distribution and Next‑Generation Unbundled Development Tools
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 26, 2021 · Frontend Development

How to Fix HTML Entity Bugs That Break Rich Text Rendering

This article explains why HTML entities like "<" and ">" can disappear in rich‑text fields, analyzes the underlying tokenizer state machine, and provides a lightweight hack that inserts empty comment nodes to preserve the original text without breaking legacy rendering logic.

EntityHTMLJavaScript
0 likes · 12 min read
How to Fix HTML Entity Bugs That Break Rich Text Rendering
Sohu Tech Products
Sohu Tech Products
Aug 25, 2021 · Backend Development

Understanding Node.js Module System and Implementing a Custom Require Loader

This article explains how Node.js implements module loading using the CommonJS wrapper, demonstrates the role of the built‑in vm module for isolated execution, and walks through building a custom Require function with path resolution, file reading, extension handling, caching, and automatic extension resolution.

CommonJSJavaScriptModule System
0 likes · 14 min read
Understanding Node.js Module System and Implementing a Custom Require Loader
Tencent Cloud Developer
Tencent Cloud Developer
Aug 25, 2021 · Fundamentals

A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use

The guide explains JavaScript/TypeScript decorators—an ECMAScript stage‑2 proposal used in frameworks like Angular, Nest.js, and TypeORM—by distinguishing the decorator pattern, function, and @syntax, demonstrating a four‑step manual implementation that logs execution time, and linking decorators to AOP, IoC, and DI concepts.

AOPDecoratorIOC
0 likes · 10 min read
A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 24, 2021 · Frontend Development

Master WeChat Mini Program Development: From Setup to Advanced Features

This comprehensive guide walks you through installing the WeChat Developer Tool, creating a Mini Program project, understanding its file structure, using WXML/WXSS for layout and styling, handling data binding, templates, imports, custom scripts, configuration files, sitemap settings, and event binding, all illustrated with step‑by‑step screenshots and code examples.

ConfigurationFront-endJavaScript
0 likes · 18 min read
Master WeChat Mini Program Development: From Setup to Advanced Features
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.

HTML5JavaScriptWeb Streaming
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.

AudioContextJavaScriptaudio processing
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.

ElectronJavaScriptPerformance Optimization
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.

JavaScriptPerformance Optimizationdebounce
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.

JavaScriptReactive ProgrammingSubject
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.

JavaScriptPerformancefor 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
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.

DirectiveForm ValidationJavaScript
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.

JavaScriptReactive ProgrammingSubject
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 PerformanceC++Emscripten
0 likes · 17 min read
From Emscripten to WebAssembly: A Decade of Bringing C++ to the Browser