punnP
Convex Community2y ago
4 replies
punn

loadMore with usePaginatedQuery

I'm stumbling into some issues with loadMore and the usePaginatedQuery hook. We call loadMore when pressing a button.

We log the click and loadMore is called, but we have to call it 3 times before getting the first few elements.

initialNumItems is 2, and we're calling loadMore(4). This doesn't seem to be transient since it requires 4 total calls to loadMore before it actually loads additional items.
Was this page helpful?