get-convex / convex-svelte

https://convex-svelte.vercel.app
Apache License 2.0
22 stars 5 forks source link

Feature Request: Add pagination to queries #12

Open emilianocalzada opened 3 weeks ago

emilianocalzada commented 3 weeks ago

Hey Convex team! 👋

I've been working with Convex in Svelte and noticed that usePaginatedQuery is only available in the React library. Pagination is pretty crucial for many of our projects, and I think having this feature in the Svelte version would be super helpful for the community.

Would love to see this added to maintain feature parity with React. Let me know if there's anything I can do to help make this happen!

Thanks for considering!

thomasballinger commented 3 days ago

Tthe architecture is such that today the state for pagination is held in usePaginatedQuery. It should either be moved into the client or a stateful helper, or we need to write it again for Svelte.