Tagged articles
2421 articles
Page 14 of 25
KooFE Frontend Team
KooFE Frontend Team
Nov 28, 2021 · Frontend Development

How Konva.js Uses Random Colors for Precise Canvas Hit Detection

Konva.js detects whether a point lies inside a shape by assigning each shape a unique random color key, rendering a hidden hitCanvas with these colors, and then reading the pixel color at the click position to identify the corresponding shape, supporting up to 16.7 million objects.

CanvasJavaScriptKonva.js
0 likes · 5 min read
How Konva.js Uses Random Colors for Precise Canvas Hit Detection
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Nov 26, 2021 · Fundamentals

Understanding V8 Engine Memory Allocation and Garbage Collection

This article explains how the V8 JavaScript engine allocates memory, why garbage collection is necessary, describes the memory layout of new and old generations, reviews common GC algorithms such as reference counting, mark‑sweep, mark‑compact and incremental marking, and offers practical tips for writing high‑performance JavaScript code.

Garbage CollectionJavaScriptMemory Management
0 likes · 22 min read
Understanding V8 Engine Memory Allocation and Garbage Collection
Selected Java Interview Questions
Selected Java Interview Questions
Nov 25, 2021 · Frontend Development

Refactoring Examples for Common Business Scenarios: From Callback Hell to Promise.all and Pure Functions

This article demonstrates how to refactor tangled asynchronous request chains and complex if‑else logic in JavaScript by replacing callback hell with Promise.all and async/await, extracting pure helper functions, and applying best‑practice principles to improve readability, testability, and maintainability.

JavaScriptPromisePure Functions
0 likes · 11 min read
Refactoring Examples for Common Business Scenarios: From Callback Hell to Promise.all and Pure Functions
Top Architect
Top Architect
Nov 25, 2021 · Backend Development

Implement QR Code Login with WebSocket Using Spring Boot

This article explains how to build a QR‑code based login system by designing a token table, defining roles, creating two REST APIs (generate QR code and confirm identity), and integrating front‑end JavaScript with a Spring Boot WebSocket server, complete with full code examples and step‑by‑step instructions.

JavaScriptQR Code LoginSpring Boot
0 likes · 13 min read
Implement QR Code Login with WebSocket Using Spring Boot
ByteFE
ByteFE
Nov 22, 2021 · Frontend Development

Technical Decision and Practices of Using Web Components in EE NEXT SDK

This document details the EE NEXT SDK team's technical decisions to adopt Web Components for front‑end component development, explains the benefits and drawbacks of Custom Elements and Shadow DOM, outlines challenges such as cross‑stack compatibility, bundle size, style isolation, and provides practical implementation guidance and best‑practice recommendations.

JavaScriptSDKShadow DOM
0 likes · 15 min read
Technical Decision and Practices of Using Web Components in EE NEXT SDK
TikTok Frontend Technology Team
TikTok Frontend Technology Team
Nov 22, 2021 · Game Development

Technical Overview of Douyin National Day Mini‑Game Development Using Lynx and Cocos Creator

This article details the end‑to‑end development of Douyin's National Day mini‑game, covering the Lynx + Cocos tech stack, core Cocos concepts such as ECS, node hierarchy, lifecycle, a step‑by‑step walkthrough of the star‑catcher demo code, background looping strategies, checkpoint transitions, character Spine animation, resource loading pipelines, custom bitmap fonts, and a series of performance optimizations for mobile deployment.

CocosJavaScriptLynx
0 likes · 28 min read
Technical Overview of Douyin National Day Mini‑Game Development Using Lynx and Cocos Creator
21CTO
21CTO
Nov 21, 2021 · Frontend Development

What’s New in TypeScript 4.5 and Is Google’s Fuchsia the End of Android 12?

The article outlines Microsoft’s TypeScript 4.5 release with its new type‑system features and performance fixes, then shifts to Google’s unveiling of the Fuchsia OS, its microkernel architecture, and growing speculation that Android 12 could be the final Android update.

AndroidFuchsiaGoogle
0 likes · 4 min read
What’s New in TypeScript 4.5 and Is Google’s Fuchsia the End of Android 12?
MaGe Linux Operations
MaGe Linux Operations
Nov 21, 2021 · Backend Development

How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python

This guide walks through extracting and reproducing the encrypted parameters required to post chat messages on Laifeng live streams, covering site navigation, packet capture, timestamp generation, signature calculation via JavaScript decryption, and a complete Python script that logs in, builds the request, and sends the comment.

API reverse engineeringJavaScriptPython
0 likes · 17 min read
How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python
21CTO
21CTO
Nov 19, 2021 · Artificial Intelligence

Top Programming Languages Powering Modern AI: Benefits & Use Cases

This article reviews the most suitable programming languages for artificial intelligence, explaining why Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia excel in AI development and outlining their key advantages and typical applications.

AIC++JavaScript
0 likes · 16 min read
Top Programming Languages Powering Modern AI: Benefits & Use Cases
Sohu Tech Products
Sohu Tech Products
Nov 17, 2021 · Frontend Development

The Enduring Role of jQuery in Modern Web Development

Despite the rise of newer frameworks like React and Next.js, jQuery remains a dominant JavaScript library with a 78% market share, deeply embedded in platforms such as WordPress, and continues to evolve through updates to its core and UI components while facing performance debates.

JavaScriptLegacy LibrariesWordPress
0 likes · 7 min read
The Enduring Role of jQuery in Modern Web Development
ELab Team
ELab Team
Nov 17, 2021 · Frontend Development

Mastering ESLint: From Quick Setup to Advanced Rule Customization

This article explains what ESLint is, walks through its installation and basic configuration, dives into detailed rule, parser, and plugin settings, describes its AST‑based analysis process, and shows how to integrate it with tools like VSCode, Prettier, Husky and lint‑staged for robust JavaScript code quality enforcement.

ESLintGit HooksJavaScript
0 likes · 19 min read
Mastering ESLint: From Quick Setup to Advanced Rule Customization
ByteDance Web Infra
ByteDance Web Infra
Nov 16, 2021 · Frontend Development

Why Rust Is the Future of JavaScript Infrastructure

Rust, a fast and memory‑efficient language adopted by major tech firms, is increasingly replacing JavaScript in web tooling such as bundlers, compilers, and linters, with projects like SWC, Deno, and WebAssembly demonstrating its performance, safety, and growing ecosystem for the future of JavaScript infrastructure.

JavaScriptRustTooling
0 likes · 17 min read
Why Rust Is the Future of JavaScript Infrastructure
Programmer DD
Programmer DD
Nov 15, 2021 · Game Development

How to Build a Fully Playable 13KB JavaScript Game: Tips from the JS13k Contest

This article explores the surprising 13KB JavaScript game "Space Huggers," explains the JS13k competition rules, and shares practical techniques—pixel graphics, minimalist sound, lightweight engines, and code trimming—that developers can use to create ultra‑small yet functional browser games.

JS13kJavaScriptfrontend
0 likes · 6 min read
How to Build a Fully Playable 13KB JavaScript Game: Tips from the JS13k Contest
Java Backend Technology
Java Backend Technology
Nov 7, 2021 · Artificial Intelligence

6 Must‑Try Open‑Source Projects to Boost Your Development Skills

This article introduces six intriguing open‑source projects—including an audio‑based keylogger, a high‑accuracy face‑recognition library, a TensorFlow.js video‑person removal tool, a Chinese kinship calculator, a Java Word template engine, and a sleek macOS Markdown editor—each with brief descriptions, screenshots, and usage examples.

AIJavaScriptPython
0 likes · 5 min read
6 Must‑Try Open‑Source Projects to Boost Your Development Skills
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 5, 2021 · Fundamentals

Understanding the Latest TC39 Proposals: Intl.Segmenter, Error Cause, RegExp Enhancements and More

This article reviews recent TC39 proposals that have reached Stage 4—including Intl.Segmenter, Error Cause, Intl.DurationFormat, Array.groupBy, Destructuring Private Fields, String.cooked, RegExp modifiers, RegExp \R, buffer boundaries, Evaluator Attributes, and Bind‑this—explaining their goals, usage, and providing practical JavaScript code examples.

ECMAScriptJavaScriptLanguage Proposals
0 likes · 22 min read
Understanding the Latest TC39 Proposals: Intl.Segmenter, Error Cause, RegExp Enhancements and More
Programmer DD
Programmer DD
Nov 4, 2021 · Frontend Development

Unlock Browser P2P File Sharing with WebTorrent: A Hands‑On Guide

This article introduces WebTorrent, an open‑source JavaScript library that brings BitTorrent‑style peer‑to‑peer file sharing and streaming directly to browsers using WebRTC, explains its advantages over traditional download tools, and provides step‑by‑step code examples for both web and Node environments.

JavaScriptP2PWebRTC
0 likes · 6 min read
Unlock Browser P2P File Sharing with WebTorrent: A Hands‑On Guide
JavaScript
JavaScript
Nov 2, 2021 · Frontend Development

Why jQuery Still Matters in a React‑Dominated Web Landscape

This article examines jQuery’s historic rise, its deep integration in platforms like WordPress, the reasons it survived the shift to modern frameworks such as React, Angular and Vue, and why it may still be a useful tool despite declining popularity.

JavaScriptWeb HistoryWordPress
0 likes · 6 min read
Why jQuery Still Matters in a React‑Dominated Web Landscape
ELab Team
ELab Team
Oct 28, 2021 · Information Security

How to Build a Secure JavaScript Sandbox: Techniques, Code, and Pitfalls

This article explains the concept of JavaScript sandboxing, outlines common use cases, walks through several implementation strategies—from simple eval wrappers to with‑Proxy‑iframe combos—and discusses sandbox escape techniques and how to mitigate them, providing practical code examples throughout.

JavaScriptfrontendiframe
0 likes · 14 min read
How to Build a Secure JavaScript Sandbox: Techniques, Code, and Pitfalls
KooFE Frontend Team
KooFE Frontend Team
Oct 28, 2021 · Frontend Development

How to Detect Canvas Shape Clicks Using Pixel Color and Transparency

By leveraging pixel color and alpha values, this guide explains how to determine whether a user click falls inside a Canvas shape, compares it with traditional methods like crossing number and winding number, and provides a practical implementation using Create.js with sample code.

Create.jsJavaScripthit testing
0 likes · 5 min read
How to Detect Canvas Shape Clicks Using Pixel Color and Transparency
Laravel Tech Community
Laravel Tech Community
Oct 24, 2021 · Frontend Development

Useful JavaScript Code Snippets for Common Front‑End Tasks

This article provides a collection of practical JavaScript snippets covering cookie handling, color conversion, clipboard operations, date validation, string manipulation, array utilities, URL query extraction, time formatting, and dark‑mode detection, all useful for front‑end developers.

JavaScriptWeb Developmentbrowser API
0 likes · 8 min read
Useful JavaScript Code Snippets for Common Front‑End Tasks
Full-Stack Trendsetter
Full-Stack Trendsetter
Oct 20, 2021 · Frontend Development

Why Vue Component data Must Be a Function, Not an Object

The article explains that while a Vue root instance can define its data as an object or a function, a component's data must be a function to avoid shared memory between instances, illustrating the issue with code examples and detailing Vue's option‑merge validation.

@DataComponentJavaScript
0 likes · 4 min read
Why Vue Component data Must Be a Function, Not an Object
ELab Team
ELab Team
Oct 19, 2021 · Fundamentals

Unlocking QR Code Secrets: Principles, Design, and Code Generation

This article explains QR code fundamentals, including its advantages, structural components, error‑correction levels, design principles, generation workflow, JavaScript implementation details, and extensions such as artistic QR codes and mini‑program codes, providing practical examples and visual illustrations.

Error CorrectionJavaScriptartistic QR
0 likes · 11 min read
Unlocking QR Code Secrets: Principles, Design, and Code Generation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 19, 2021 · Frontend Development

Implementing the Fancy-Components Wave Filter Web Component Across Frontend Frameworks

This article explains how to replace a heavy 78 KB GIF loading animation with the lightweight Fancy-Components wave‑filter web component, covering its installation, configuration, and usage in plain HTML, React, Vue 2, Vue 3, Vue‑CLI, Vite, and custom attribute options such as color, duration, amplitude, delay, mode, and interval.

CSSJavaScriptReact
0 likes · 27 min read
Implementing the Fancy-Components Wave Filter Web Component Across Frontend Frameworks
php Courses
php Courses
Oct 18, 2021 · Frontend Development

AJAX Technology – Asynchronous Data Retrieval (Course Overview)

This course introduces AJAX (Asynchronous JavaScript and XML), explaining how it enables browsers to fetch data without page refresh by sending asynchronous requests, and clarifies that AJAX is a technique combining existing web standards rather than a new programming language.

AsynchronousCourseJavaScript
0 likes · 1 min read
AJAX Technology – Asynchronous Data Retrieval (Course Overview)
Fulu Network R&D Team
Fulu Network R&D Team
Oct 18, 2021 · Frontend Development

Implementing mini-async-dva: Adding async/await Support to DVA

This article examines the limitations of the original DVA framework, proposes a mini‑async‑dva fork that adds async/await support to model effects, and details its implementation—including store management, dynamic model registration, and asynchronous component loading—while providing full code comparisons.

DVAJavaScriptReact
0 likes · 8 min read
Implementing mini-async-dva: Adding async/await Support to DVA
KooFE Frontend Team
KooFE Frontend Team
Oct 17, 2021 · Frontend Development

Why React Hooks Were Created and How to Choose Between ahooks and react-use

This article explains why React introduced Hooks, compares the official Hooks with popular third‑party libraries ahooks and react‑use, lists their most useful Hooks, shows how to install them, and provides a custom Hook example for displaying error modals, helping developers write cleaner, more reusable functional components.

JavaScriptReactahooks
0 likes · 16 min read
Why React Hooks Were Created and How to Choose Between ahooks and react-use
ELab Team
ELab Team
Oct 15, 2021 · Frontend Development

Mastering Redux: Core Principles, Architecture, and Real-World Implementation

This article provides a comprehensive overview of Redux, covering its design philosophy, core components, API implementation, React bindings, and practical code examples to help developers understand and apply state management effectively in modern front‑end applications.

JavaScriptReactState Management
0 likes · 18 min read
Mastering Redux: Core Principles, Architecture, and Real-World Implementation
iQIYI Technical Product Team
iQIYI Technical Product Team
Oct 15, 2021 · Frontend Development

Applying Source Maps for Front-End Error Monitoring in Production

The article explains how integrating Source Maps—generated by modern bundlers and automatically uploaded via a Webpack plugin—into iQIYI Hawkeye’s front‑end exception monitoring restores original file names and line numbers for minified production JavaScript errors, enabling rapid debugging despite bundle‑size and versioning challenges.

Front-endHawkeyeJavaScript
0 likes · 11 min read
Applying Source Maps for Front-End Error Monitoring in Production
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.

CSSCSS VariablesDark Mode
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.

JavaScriptTutorialWeChat Mini Program
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.

JavaScriptWeb Historydeclarative programming
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.

JavaScriptObservablesfrontend
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 ToolJavaScriptNext.js
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
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.

JavaScriptVitebuild tools
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
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.

JavaScriptVue.jslazy loading
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.

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

CanvasHookImage Cropping
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.

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

JavaScriptReactfunctional programming
0 likes · 21 min read
Why Front-End Developers Must Master Functional Programming and React Hooks
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.

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

JavaScriptMonadPure Functions
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.

CommonJSJavaScriptNode.js
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.

DecoratorIoCJavaScript
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