Skip to content

Add useInfinite react-query hook for list operations #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2024

Conversation

kidmillions
Copy link
Collaborator

sbp-862

This adds a 'useInfinite' to the generated hooks for list queries. It runs on the assumption that the response from list endpoints includes a next_url property, which is a string with a query param cursor.

@kidmillions kidmillions requested a review from LochandQuay May 1, 2024 22:00
@kidmillions kidmillions merged commit 5a3355e into master May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant