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.
3 Replies
other-emerald•2y ago
@NiklasPor could you create side by side example we can compere, that would be good to pin point what is slow and why.
metropolitan-bronzeOP•2y ago
Sure, I'll give it a try. Although I must disclaim that production performance on modern machines was good enough, so I stopped investigating.
other-emerald•2y ago
thanks