Count for Infinite Scrolling List
I'm building an infinite scroll table with Tanstack Virtual (v3.b.54) and Tanstack Table (v8)
If the API return the total data count, am I better off setting
count
inside useVirtualizer
to the the total count or using the line from the docs hasNextPage ? flatData.length + 1 : flatData.length
?
Thanks!0 Replies