Impossible to prevent rerendering entire list of items on scroll #602
Unanswered
jonahallibone
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the following in conjunction with
@tanstack/table
and I am finding it impossible to render my rows without rerendering the entire visible list on each scroll event. Normally, I'd solve this by memoizing some wrapper/row/cell, however, I am finding that hard as well because it is causing my component containinguseVirtualizer
to remount the children, meaning that the comparison inmemo
is never stale, andprev, next
comparisons are always equal because it's a freshly mounted render. Any kind of example where this is not the case would be greatly appreciated.Beta Was this translation helpful? Give feedback.
All reactions