Tagged articles
48 articles
Page 1 of 1
FunTester
FunTester
Dec 5, 2025 · Frontend Development

Mastering React Containers: From JSX to Real DOM and Beyond

This article explains how React’s container concepts connect JSX, the virtual DOM, and the real DOM, covering component types, root and container components, fragments, state and data flow, reuse patterns like hooks and HOCs, and stability tools such as Suspense, Error Boundaries, and StrictMode.

JSXReactState Management
0 likes · 9 min read
Mastering React Containers: From JSX to Real DOM and Beyond
Goodme Frontend Team
Goodme Frontend Team
Nov 24, 2025 · Frontend Development

How React Fiber Eliminates UI Jank: A Step‑by‑Step Deep Dive

This article explains why web pages feel sluggish, how React Fiber’s interruptible asynchronous rendering solves the jank problem, and walks through progressively refined implementations—from a basic React demo to a full Fiber renderer with work‑loop scheduling, diffing, and performance optimizations.

Diff AlgorithmFiberJavaScript
0 likes · 19 min read
How React Fiber Eliminates UI Jank: A Step‑by‑Step Deep Dive
Code Mala Tang
Code Mala Tang
Oct 23, 2024 · Frontend Development

Master the Top 7 React Concepts to Join the Elite 5% of Developers

This article explores seven essential React concepts—including component lifecycle, advanced Hooks, virtual DOM, state management with Context and Redux, Refs, prop‑drilling solutions, and the new Suspense and Concurrent Mode—to help developers boost performance, scalability, and expertise.

ReactVirtual DOM
0 likes · 9 min read
Master the Top 7 React Concepts to Join the Elite 5% of Developers
IT Services Circle
IT Services Circle
May 31, 2024 · Frontend Development

Understanding Virtual DOM and Popular Implementations

This article explains the concept of the Virtual DOM, its performance benefits in front‑end development, and presents several open‑source implementations such as Million.js, Snabbdom, virtual‑dom, blockdom, Maquette, and additional lightweight libraries, each with brief descriptions and GitHub links.

JavaScriptVirtual DOMimplementation
0 likes · 6 min read
Understanding Virtual DOM and Popular Implementations
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 27, 2023 · Frontend Development

From jQuery to Virtual DOM: Evolution, Advantages, and the Rise of No‑Virtual‑DOM Frameworks

From jQuery’s imperative DOM hacks to React’s virtual‑DOM abstraction and now to compile‑time, no‑virtual‑DOM frameworks like Svelte and Solid, the front‑end has shifted toward declarative UI, fine‑grained reactivity, and performance‑focused optimizations, while virtual‑DOM remains widely used but increasingly challenged.

Front-endJavaScriptSolidJS
0 likes · 21 min read
From jQuery to Virtual DOM: Evolution, Advantages, and the Rise of No‑Virtual‑DOM Frameworks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 30, 2023 · Frontend Development

Comprehensive Guide to React Lifecycle, Hooks, Fiber, Virtual DOM, and Advanced Patterns

This article provides an in‑depth overview of React class component lifecycles before and after version 16, the new lifecycle methods, virtual DOM and diff algorithm, asynchronous rendering with Fiber, state batching, higher‑order components, render props, and error boundaries, illustrating each concept with code examples.

FiberLifecycleVirtual DOM
0 likes · 36 min read
Comprehensive Guide to React Lifecycle, Hooks, Fiber, Virtual DOM, and Advanced Patterns
HelloTech
HelloTech
Oct 9, 2022 · Frontend Development

Understanding Vue2 and Vue3 Diff Algorithms: Core Principles and Process

The article explains how Vue 2’s diff algorithm uses head‑to‑tail comparisons and a key‑to‑index map to patch, add, or remove nodes, while Vue 3 improves efficiency by building a key‑to‑new‑index map, computing the longest increasing subsequence, and moving only non‑LIS nodes, reducing DOM operations.

Diff AlgorithmJavaScriptVirtual DOM
0 likes · 22 min read
Understanding Vue2 and Vue3 Diff Algorithms: Core Principles and Process
Yiche Technology
Yiche Technology
Apr 19, 2022 · Frontend Development

Vue vs React: Technical Comparison and Project Selection Guide

This article compares Vue and React by examining their template syntax, virtual DOM implementations, update strategies, data binding mechanisms, and performance characteristics, offering practical guidance on choosing the appropriate framework for projects of varying size and browser compatibility requirements.

ReactVirtual DOMVue
0 likes · 10 min read
Vue vs React: Technical Comparison and Project Selection Guide
IT Services Circle
IT Services Circle
Apr 17, 2022 · Frontend Development

A 40-line Diff Algorithm Implementation for React's Virtual DOM

This article explains the design and implementation of a minimal 40‑line Diff algorithm for React’s virtual DOM, covering node attribute changes, insertions, deletions, and moves, and provides a complete TypeScript demo that marks nodes with placement or deletion flags for efficient DOM updates.

Diff AlgorithmJavaScriptReact
0 likes · 10 min read
A 40-line Diff Algorithm Implementation for React's Virtual DOM
政采云技术
政采云技术
Feb 22, 2022 · Frontend Development

Demystifying Snabbdom’s VNode and Diff Algorithm: A Deep Dive

This article provides a thorough analysis of Snabbdom’s virtual DOM implementation, explaining core concepts such as vnode structure, the diff algorithm, and the patch process, and includes detailed code walkthroughs and diagrams to help developers understand and apply these mechanisms in front‑end projects.

Diff AlgorithmJavaScriptSnabbdom
0 likes · 19 min read
Demystifying Snabbdom’s VNode and Diff Algorithm: A Deep Dive
Sohu Tech Products
Sohu Tech Products
Dec 15, 2021 · Frontend Development

Implementing a Simple Virtual DOM Library with Patch and Diff Algorithms

This article explains how to build a lightweight virtual DOM library in JavaScript, covering the creation of VNode objects, the patch and diff algorithms, handling of attributes, classes, styles, and events, and demonstrates a step‑by‑step implementation using the Snabbdom approach.

Diff AlgorithmJavaScriptSnabbdom
0 likes · 18 min read
Implementing a Simple Virtual DOM Library with Patch and Diff Algorithms
Tencent Music Tech Team
Tencent Music Tech Team
Oct 1, 2021 · Frontend Development

Tree and View Systems Across Web, Android, iOS, and Flutter

These articles compare how Web, Android, iOS, and Flutter represent UI structures—detailing the DOM and Virtual DOM creation, diffing, and rendering on the Web, and the XML‑based layout inflation, view hierarchy, styling, and drawing pipeline on Android—to help front‑end developers grasp each platform’s tree‑based architecture.

AndroidFlutterView System
0 likes · 11 min read
Tree and View Systems Across Web, Android, iOS, and Flutter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 23, 2021 · Frontend Development

Understanding Virtual DOM and Diff Algorithm in Vue.js (Vue2 and Vue3)

This article explains the concept of virtual DOM, its structure, and how Vue's diff (patch) algorithm works, including detailed code walkthroughs, optimization strategies, key usage, and differences between Vue2 and Vue3 implementations, helping readers fully grasp the underlying principles and performance improvements.

Diff AlgorithmKEYVirtual DOM
0 likes · 28 min read
Understanding Virtual DOM and Diff Algorithm in Vue.js (Vue2 and Vue3)
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 22, 2021 · Frontend Development

Design Choices in Frontend Frameworks: Virtual DOM, Reactive APIs, and the Rise of SolidJS and Svelte

The article examines core design decisions in modern frontend frameworks—immutable tree‑diff versus mutable reactive models, update granularity, virtual‑DOM usage, DSL choices, and the performance trade‑offs illustrated by React, Vue, SolidJS and Svelte, while also exploring component portability via WebComponents.

ReactivitySolidJSSvelte
0 likes · 10 min read
Design Choices in Frontend Frameworks: Virtual DOM, Reactive APIs, and the Rise of SolidJS and Svelte
Tencent Cloud Developer
Tencent Cloud Developer
Sep 15, 2021 · Frontend Development

Deep Dive into Vue.js Virtual DOM Diff Algorithm and Source Code Analysis

The article thoroughly explains Vue.js’s virtual‑DOM diff algorithm, detailing its depth‑first traversal, same‑level node comparison, the sameVnode key/selector check, index map creation, O(n) head‑tail and index‑based matching loops, Vue 3 static‑type optimizations, and a practical implementation for array change detection.

Algorithm OptimizationDiff AlgorithmVirtual DOM
0 likes · 6 min read
Deep Dive into Vue.js Virtual DOM Diff Algorithm and Source Code Analysis
Xueersi Online School Tech Team
Xueersi Online School Tech Team
May 22, 2020 · Frontend Development

Analyzing Vue.js vm._update and __patch__ Implementation

This article provides a detailed walkthrough of Vue.js’s internal vm._update method, its reliance on the core __patch__ function, and the surrounding lifecycle mechanisms, illustrating each step with source code excerpts and diagrams to clarify how virtual DOM nodes are transformed into real DOM elements.

Patch FunctionVirtual DOMVue.js
0 likes · 16 min read
Analyzing Vue.js vm._update and __patch__ Implementation
360 Tech Engineering
360 Tech Engineering
Apr 20, 2020 · Frontend Development

A 33‑Line JavaScript Implementation of a Minimal React‑like Library

London Python engineer Oliver Russell created a 33‑line JavaScript library that mimics React by generating a virtual DOM, diffing it against the previous version, and efficiently updating the real DOM, with examples including a ToDo app, tic‑tac‑toe, calendar picker and snake game.

MithrilReactTutorial
0 likes · 6 min read
A 33‑Line JavaScript Implementation of a Minimal React‑like Library
Taobao Frontend Technology
Taobao Frontend Technology
Mar 21, 2020 · Frontend Development

Top Front-End Interview Answers: HTTP, Virtual DOM, Modules, and More

This article compiles detailed front‑end interview answers covering HTTP request limits, Virtual DOM benefits, CommonJS vs ES6 modules, cookie/session/token differences, image format selection, first‑paint and white‑screen metrics, mini‑program vs H5 distinctions, floating‑point precision, and V8 engine execution.

HTTPModulesVirtual DOM
0 likes · 14 min read
Top Front-End Interview Answers: HTTP, Virtual DOM, Modules, and More
Youzan Coder
Youzan Coder
Nov 9, 2018 · Frontend Development

Building a Simple Virtual DOM Diff Algorithm: From Concept to Code

This article explains the Virtual DOM concept, outlines a state‑driven rendering approach, implements a minimal Virtual DOM (VD) structure, creates a diff algorithm to generate patch objects, applies those patches to the real DOM, and compares its performance with full re‑rendering.

DOM PatchingDiff AlgorithmJavaScript
0 likes · 8 min read
Building a Simple Virtual DOM Diff Algorithm: From Concept to Code
Youzan Coder
Youzan Coder
Oct 12, 2018 · Frontend Development

Understanding Virtual DOM: Concepts, Implementation, and Mapping to Real DOM

The article explains the Virtual DOM as a lightweight JavaScript object with tag, props, and children, shows how JSX compiles to VD using a custom pragma, provides helper functions to create real DOM from VD, and outlines how batching updates reduces reflows, previewing a future diff algorithm.

Diff AlgorithmFront-endJSX
0 likes · 7 min read
Understanding Virtual DOM: Concepts, Implementation, and Mapping to Real DOM
MaoDou Frontend Team
MaoDou Frontend Team
Aug 28, 2018 · Frontend Development

Understanding Vue.js Internals: From Initialization to Virtual DOM

This article walks through Vue.js's internal workflow, covering global overview, initialization and mounting, compilation stages, reactivity mechanisms, virtual DOM creation, and view updating, providing a comprehensive picture for developers seeking deeper insight into the framework.

CompilationReactivityVirtual DOM
0 likes · 6 min read
Understanding Vue.js Internals: From Initialization to Virtual DOM
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 20, 2018 · Frontend Development

A Comprehensive Introduction to ReactJS: Virtual DOM, Component Architecture, and Hands‑On Examples

This article provides a detailed overview of ReactJS, covering its origins, virtual DOM mechanism, component‑based architecture, common misconceptions, setup steps, JSX syntax, component properties, state management, lifecycle methods, and practical code examples for building interactive web interfaces.

Component ArchitectureJSXJavaScript
0 likes · 14 min read
A Comprehensive Introduction to ReactJS: Virtual DOM, Component Architecture, and Hands‑On Examples
Tencent Cloud Developer
Tencent Cloud Developer
Jun 6, 2018 · Frontend Development

React Introduction: Core Concepts, Component Architecture, and JSX Fundamentals

React, an open‑source UI library created by Facebook, uses a virtual DOM and component‑based architecture—both class‑based and functional—to build modular, reusable interfaces, while JSX provides an XML‑like syntax that compiles to JavaScript, enhancing development efficiency and maintainability.

Component-Based ArchitectureES6 Class ComponentFunctional Component
0 likes · 9 min read
React Introduction: Core Concepts, Component Architecture, and JSX Fundamentals
Qunar Tech Salon
Qunar Tech Salon
Nov 3, 2017 · Frontend Development

Understanding Virtual DOM: An Introduction Using Snabbdom in Vue

This article explains the concept and implementation of virtual DOM, focusing on Vue's use of the Snabbdom algorithm, detailing its node structure, creation, update process, lifecycle hooks, and code examples to illustrate how virtual DOM optimizes front‑end performance.

JavaScriptSnabbdomVirtual DOM
0 likes · 6 min read
Understanding Virtual DOM: An Introduction Using Snabbdom in Vue
CoolHome R&D Department
CoolHome R&D Department
Sep 27, 2017 · Frontend Development

How to Build Reactive Data Synchronization Between Raw and Intermediate Models

This article explains why an intermediate data structure is needed for 3D rendering in a React‑like Virtual DOM environment, how to keep it reactively synchronized with raw graph data using dependency analysis, proxies, and conversion functions, and the performance benefits of minimal partial updates.

Virtual DOMdata synchronizationfrontend
0 likes · 12 min read
How to Build Reactive Data Synchronization Between Raw and Intermediate Models
Hujiang Technology
Hujiang Technology
May 31, 2017 · Frontend Development

Exploring React's Virtual DOM: Source Code Analysis

This article examines React's Virtual DOM by dissecting the React source code, explaining the structure of the React object, ReactElement factory, the createElement implementation, and how these pieces combine to build a virtual DOM tree for rendering components.

JavaScriptReactReactElement
0 likes · 11 min read
Exploring React's Virtual DOM: Source Code Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Feb 5, 2017 · Frontend Development

Analysis of Vue.js 2.0 Initialization and Rendering Logic

Vue.js 2.0 initializes a component via the _init method, merges options, and mounts it with $mount, which creates a render function—whether from a custom function, template, or element—producing a Virtual DOM VNode that the patch algorithm diffs against the previous VNode to efficiently update the real DOM.

InitializationRenderingVirtual DOM
0 likes · 8 min read
Analysis of Vue.js 2.0 Initialization and Rendering Logic
Tencent Cloud Developer
Tencent Cloud Developer
Jan 24, 2017 · Frontend Development

React Fundamentals: Understanding Virtual DOM, JSX, and Component Architecture

This article introduces React, the Facebook‑originated JavaScript UI library, explaining its rise in popularity and core concepts—JSX syntax that compiles to React.createElement calls, the virtual DOM that efficiently batches updates, and a component architecture that separates props and state for reusable, maintainable code.

Component ArchitectureJSXReact
0 likes · 9 min read
React Fundamentals: Understanding Virtual DOM, JSX, and Component Architecture
Qunar Tech Salon
Qunar Tech Salon
Nov 3, 2016 · Frontend Development

Avalon2: Overview, Advantages, and Backend Rendering

This article provides a comprehensive overview of the Avalon2 JavaScript framework, detailing its evolution from Avalon1, performance improvements via virtual DOM, componentization, non‑intrusive design, compatibility features, backend rendering capabilities, and related tools such as Arthur and mmRequest.

Avalon2CompatibilityComponentization
0 likes · 7 min read
Avalon2: Overview, Advantages, and Backend Rendering
Architecture Digest
Architecture Digest
Jun 8, 2016 · Frontend Development

Introduction to ReactJS: Virtual DOM, Component Architecture, and Practical Code Examples

This article provides a comprehensive overview of ReactJS, covering its origin, virtual DOM performance benefits, component-based architecture, JSX syntax, setup instructions, and multiple code examples that illustrate rendering, state management, lifecycle methods, and component nesting for modern front‑end development.

ComponentJSXReactJS
0 likes · 15 min read
Introduction to ReactJS: Virtual DOM, Component Architecture, and Practical Code Examples
WeChatFE
WeChatFE
Mar 22, 2016 · Frontend Development

How to Build a Simple Virtual DOM in 300–400 Lines of Code

This article explains how to implement a basic Virtual DOM algorithm in 300–400 lines of JavaScript, covering state‑management motivations, tree representation, diffing, and patching, with step‑by‑step code examples and visual illustrations to help developers understand and build their own lightweight Virtual DOM library.

Diff AlgorithmVirtual DOMdom manipulation
0 likes · 13 min read
How to Build a Simple Virtual DOM in 300–400 Lines of Code