Adam Klein

A journey of a long list in React

Is virtual scroll always the answer for long lists? Discover a powerful alternative using IntersectionObserver for smoother, faster UIs.

A journey of a long list in React
#1about 5 minutes

The performance cost of re-rendering long lists

Rendering thousands of items naively causes significant JavaScript and layout overhead, leading to an unresponsive UI during re-renders.

#2about 4 minutes

Exploring common patterns for handling long lists

Websites like Google use traditional pagination, while others like Facebook and Unsplash use infinite scroll and skeleton loaders to manage large datasets.

#3about 3 minutes

How virtual scroll works using the windowing technique

Virtual scroll, also known as windowing, creates a smooth user experience by only rendering the items currently visible in the viewport.

#4about 5 minutes

Considering the limitations of virtual scroll libraries

Before choosing a library, consider its limitations regarding scroll restoration, deep linking, dynamic heights, and window-level scrolling.

#5about 5 minutes

The technical implementation of a virtual scroll component

Implementing virtual scroll requires calculating the total container height and the position of visible items, which is complicated by dynamic row heights.

#6about 4 minutes

Using skeleton loaders and the Intersection Observer API

The Intersection Observer API enables an alternative approach where lightweight skeleton placeholders are replaced with full content as they enter the viewport.

#7about 4 minutes

Best practices for optimizing scrolling performance

Improve scrolling smoothness by throttling scroll events, tuning the render-ahead buffer, minimizing re-renders, and simplifying complex list items.

#8about 13 minutes

Q&A on pagination, tables, and implementation details

The speaker addresses when to choose pagination over virtual scroll and how to apply these performance techniques to tables and tree structures.

Related jobs
Jobs that call for the skills explored in this talk.

job ad

Saby Company
Delebio, Italy

Intermediate

d

Saby Company
Delebio, Italy

Junior

Featured Partners

Related Articles

View all articles
AM
Ashutosh Mishra
16 Best Free React UI Libraries in 2025
Web development is moving incredibly fast. New features pop up all the time, but there's one constant issue that keeps coming up: keeping your app's interface looking attractive and impressive. While new features are born and killed as the project gr...
16 Best Free React UI Libraries in 2025
CH
Chris Heilmann
Dev Digest 136 - No JS(on) of mine
News and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
Dev Digest 136 - No JS(on) of mine
EM
Eli McGarvie
Top 10 Svelte UI Libraries in 2025
As Svelte gains traction among developers for its impressive performance and simplicity, the need for robust UI libraries becomes increasingly apparent. UI libraries can provide developers with the necessary building blocks to easily create beautiful...
Top 10 Svelte UI Libraries in 2025

From learning to earning

Jobs that call for the skills explored in this talk.