erquhartE
Convex Community2y ago
5 replies
erquhart

Endless Scrolling | React Virtuoso

Surprised there's still no go-to infinite scroll lib for react (that isn't outdated or overly low level). I've used Virtuoso in the past, it's not lightweight but it is plug and play. Here's their example for endless scroll, you can plug a Convex paginated query loadMore() right in there: https://virtuoso.dev/endless-scrolling/
The React Virtuoso component makes it trivial to implement infinite scrolling lists in both directions with variably sized items.
Was this page helpful?