TanStackT
TanStack3y ago
3 replies
brilliant-lime

Performance vs react-virtuoso

Hi all, great package, I really like that it's completely compatible with any height content.

I first tried out tanstack/virtual and then react-virtuoso for our use-case (large list with heavier rows of dynamic heights). Sadly it seems like react-virtuoso is outperforming tanstack virtual for our use-case.

Is there a guide on performance optimizations? I already compared code with the examples and the rows are memoized, and all callbacks etc are wrapped.

The scroll stuttering happens when I fastly scroll over a lot of items, otherwise it's running perfectly.
Was this page helpful?