Tagged articles
6 articles
Page 1 of 1
JavaScript
JavaScript
Jun 18, 2025 · Frontend Development

How to Implement Ultra‑Efficient Lazy Loading with Only 10 Lines of JavaScript

Learn how to replace complex scroll listeners and getBoundingClientRect calculations with the modern Intersection Observer API, using just ten lines of JavaScript to create a clean, high‑performance lazy‑loading solution that swaps placeholder images for real content and even supports preloading via rootMargin.

intersection observerlazy loading
0 likes · 6 min read
How to Implement Ultra‑Efficient Lazy Loading with Only 10 Lines of JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 10, 2024 · Frontend Development

Boosting Frontend Rendering Performance with react-virtualized-list and Intersection Observer

This article explains how the react-virtualized-list library combined with the Intersection Observer API can dramatically improve rendering performance for large data sets, achieving up to 95% faster page loads and smoother infinite scrolling on both PC and mobile browsers.

Virtualizationinfinite scrollintersection observer
0 likes · 20 min read
Boosting Frontend Rendering Performance with react-virtualized-list and Intersection Observer
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 30, 2024 · Frontend Development

Virtual Scrolling Techniques and Performance Optimization for Large Document Editors

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
Virtual Scrolling Techniques and Performance Optimization for Large Document Editors
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 23, 2022 · Frontend Development

Front‑end Performance Optimization: Lazy Loading Techniques (Route, Image, and Module)

This article introduces front‑end lazy‑loading strategies—including route lazy loading, three image lazy‑loading methods (native, scroll‑event, and IntersectionObserver), and module lazy loading—explaining their principles, showing complete React/Vue code examples, and demonstrating how they reduce initial load time and improve user experience.

Performance Optimizationintersection observerlazy loading
0 likes · 12 min read
Front‑end Performance Optimization: Lazy Loading Techniques (Route, Image, and Module)
WecTeam
WecTeam
Apr 29, 2020 · Frontend Development

Master Front‑End Performance: Transfer Optimizations, Lazy Loading & Critical CSS

This article presents an in‑depth front‑end performance checklist covering transfer optimizations, script loading strategies, IntersectionObserver lazy loading, critical CSS inlining, resource hints, service‑worker caching, connection‑aware components, and techniques to prevent layout shifts and improve rendering speed.

Service Workercritical CSSfrontend performance
0 likes · 36 min read
Master Front‑End Performance: Transfer Optimizations, Lazy Loading & Critical CSS