M Zeeshan
M Zeeshan•6mo ago

usePaginatedQuery unloading

I'm using usePaginatedQuery with infinite scroll, but I'm facing an issue. When I call loadMore(), the results array becomes empty until more content is loaded. How can I resolve this?
12 Replies
ballingt
ballingt•6mo ago
@M Zeeshan This shouldn't happen unless the component unmounts when you click the button. Is it possible the component where the usePaginatedQuery is is unmounting? @jamalsoueidan I'd encourage you to try usePaginatedQuery normally, this should work fine.
M Zeeshan
M ZeeshanOP•6mo ago
thx for your precious time... my issue has been resolved here
ballingt
ballingt•6mo ago
ah that's what I get for reading from top to bottom 😆
jamalsoueidan
jamalsoueidan•6mo ago
@M Zeeshan 6 days left buddy
M Zeeshan
M ZeeshanOP•6mo ago
4 what...?
jamalsoueidan
jamalsoueidan•6mo ago
hackathon to send your app
jamalsoueidan
jamalsoueidan•6mo ago
Zero to One Hackathon by Convex Vol 2
Zero to One Hackathon by Convex Vol 2
Build fullstack apps at light speed with Convex
M Zeeshan
M ZeeshanOP•6mo ago
My portfolio is almost finalized, with just a few remaining touches to complete it. with dashboard
jamalsoueidan
jamalsoueidan•6mo ago
can I see 😄
M Zeeshan
M ZeeshanOP•6mo ago
with dummy data ... yes you can
jamalsoueidan
jamalsoueidan•6mo ago
send me link privat please
M Zeeshan
M ZeeshanOP•6mo ago
sure

Did you find this page helpful?