WhoBuilt

Legend List: Optimizing for Mobile & Web

Sep 8, 2025· 17 min· 2.5K views·Watch on YouTube

Speaker

Jay Meistrich, creator of Legend List, presents its React Native and web performance work at React Universe Conf 2025, hosted by Callstack.

Legend List v2 and its optimization approach

Meistrich announces that Legend List v2 is stable and that React DOM support is in beta. Its core strategy is to recycle containers and rerender only the one receiving a new item, instead of rerendering and reconciling the whole list. He evaluates performance by watching frame rates and scrolling on a deliberately slow phone.

Making visible content stay in place

Version 2 fixes maintain visible content position, or MVCP, so items in view stay put when content above them changes size. Meistrich says the new algorithm responds instantly without disrupting scroll momentum and removes many earlier workarounds. It also makes scroll-to-index accurate despite estimated item sizes and simplifies adding sticky indices.

Adapting the recycling approach for web

Meistrich compares list layouts used by Virtuoso, TanStack Virtual, and Virtua, describing tradeoffs in layout work and GPU compositing. Legend List absolutely positions and recycles containers, then moves DOM elements into the correct order for selection and accessibility. A minimal-mutation reordering algorithm handles that DOM order, while the items’ positions remain visually unchanged.

Sharing behavior across platforms and what comes next

For web MVCP, Legend List uses `scrollBy` to adjust scrolling, though Meistrich says this does not work on mobile Safari yet. Synchronous browser measurements let the web version follow much of the same path as React Native’s new architecture. Meistrich invites users to try v2 and the web beta, report problems, and contribute fixes.

Takeaways

  • Recycle list containers and rerender only the item that changes to reduce React and browser work.
  • Test scrolling on slow devices and watch both frame rate and how the interaction feels.
  • Stable visible positioning can support reliable scroll-to-index behavior and simplify other list features.
  • For web lists, account for DOM order because visual ordering alone does not preserve selection or accessibility.
  • Treat platform-specific gaps such as mobile Safari scrolling as explicit optimization work.

Mentioned in this talk

Search inside this talk

What was claimed 11

Related talks