Tagged articles
virtual scrolling
13 articles · Page 1 of 1
This article presents a complete HarmonyOS solution for eliminating white blocks during fast scrolling in image-heavy lists by combining dynamic prefetching via the prefetcher library with ImageKnife image caching, demonstrating two implementations using LazyForEach and Repeat components with performance benchmarks showing under 5% white block rate and minimal memory overhead.
ArkUIHarmonyOSImageKnife
0 likes · 20 min read

Front‑end developers struggle to measure text height without rendering, causing performance issues in virtual scrolling, chat bubbles, and masonry layouts, but the TypeScript‑based Pretext library bypasses the DOM, uses Canvas measureText, and delivers order‑of‑magnitude speedups while offering line‑level layout APIs.
JavaScriptPretextTypeScript
0 likes · 10 min read

Pretext, a zero‑DOM, high‑performance text measurement engine created by React core contributor chenglou, uses Canvas‑based calculations and a two‑stage prepare/layout workflow to avoid layout reflows, delivering up to 500× speed gains for virtual scrolling, rich‑text rendering, and AI‑driven UI layout predictions.
Performance OptimizationPretexttext measurement
0 likes · 7 min read

This article explains how to create a high‑performance, multi‑dimensional table system using Konva.js, covering project overview, feature list, core architecture, module design, key mechanisms such as group rendering, virtual scrolling and batch drawing, implementation details, performance optimizations, and future extensions.
Frontend ArchitectureKonva.jsMulti-dimensional Table
0 likes · 25 min read

This article explains the concept of virtual scrolling, why it is needed for performance in web pages, outlines two main implementation strategies, and provides detailed Vue‑based code examples—including Element‑Plus Infinite Scroll and a custom VirtualList class—to help developers apply the technique effectively.
Element PlusVueinfinite-scroll
0 likes · 24 min read

This article explains how virtual scrolling can dramatically improve the performance of large online document editors by rendering only visible content, discusses various implementation strategies such as progressive pagination, canvas rendering, line‑ and block‑level virtualization, and details state management, view‑locking, fast‑scroll handling, and integration scenarios like anchor navigation, find‑replace, and comment systems, while providing code examples and performance test results.
Performance Optimizationfrontendintersection observer
0 likes · 57 min read

This article introduces a Vue 3 GridList component that supports responsive grid layouts, server‑side pagination via a request function, and virtual scrolling to render only visible items, providing performance improvements for large data sets while offering clear usage examples and full source code.
GridListPaginationVue
0 likes · 17 min read

This report analyzes performance issues in a logistics platform, identifying backend IC card interface timeouts causing database connection pool exhaustion and frontend problems from excessive DOM elements and network loading, then proposes optimizations including interface migration, CDN, compression, preloading, domain sharding, and virtual scrolling.
Frontend OptimizationIC card interfacePerformance Analysis
0 likes · 9 min read

The article explains how to optimize pull‑down loading for instant‑messaging conversation lists using virtual scrolling, detailing a three‑step loading flow, evaluating timeout, onload, and reverse‑rendering strategies, and recommending column‑reverse rendering to achieve smooth, accurate scroll rollback and better user experience.
chat UIfrontendpull-down loading
0 likes · 11 min read

This article explains the design and implementation of a reusable feeds component that supports multiple layout modes, renders different data types, and uses virtual scrolling to keep DOM size low and maintain smooth performance during infinite scrolling.
LayoutPerformance Optimizationcomponent design
0 likes · 9 min read

This article explains how the AntV S2 canvas‑based rendering engine was used to create a feature‑rich, high‑performance React data‑grid capable of handling tens of thousands of rows, covering cell editing, brush selection, virtual scrolling, frozen rows/columns, custom headers, filtering, sorting, searching, and copy‑to‑clipboard functionality.
AntV S2Data GridReact
0 likes · 28 min read

This article details how Ant Financial’s front‑end team created a fast, extensible React big‑data table component using the open‑source AntV S2 Canvas library, covering performance‑driven technical choices, custom cell editing, virtual scrolling, freezing, filtering, sorting, and integration challenges that replaced costly commercial spreadsheet solutions.
AntV S2CanvasLarge Data
0 likes · 29 min read


ByteFEApr 20, 2021 · Frontend Development
This article explains how to replace a sluggish, long list inside an Ant Design Modal with a custom virtual scrolling component, covering fixed‑height and variable‑height implementations, buffer optimization, binary search for index lookup, and includes full React code examples.
Optimizationantdlist rendering
0 likes · 14 min read
