Skip to content

feat(react-query): add useSuspendedInfiniteQuery hook #332

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 6 commits into from
May 31, 2024

Conversation

Leejin-Yang
Copy link
Contributor

@Leejin-Yang Leejin-Yang commented Aug 28, 2023

Overview

I saw issue #169 and add useSuspendedInfiniteQuery hook, tests, and docs based on the existing useSuspendedQuery.

Differences from useSuspendedQuery

  • data type TData -> InfiniteData<TData>
  • return-based type UseQueryResult -> UseInfiniteQueryResult
  • options-based type UseQueryOptions -> UseInfiniteQueryOptions
  • Adding the TQueryData generic type from options

Please give me reviews and feedback on this PR 😊

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

@netlify
Copy link

netlify bot commented Aug 28, 2023

👷 Deploy request for slash-libraries pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b8f6d3

@raon0211 raon0211 merged commit a5a9b02 into toss:main May 31, 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.

2 participants