-
Notifications
You must be signed in to change notification settings - Fork 54
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
docs(suspensive.org): correct queryOptions to infiniteQueryOptions in SuspenseInfiniteQuery example #1412
Conversation
|
People can be co-author:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@SWARVY is attempting to deploy a commit to the Toss Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution 👀🦅
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1412 +/- ##
=======================================
Coverage 73.89% 73.89%
=======================================
Files 70 70
Lines 590 590
Branches 131 131
=======================================
Hits 436 436
Misses 142 142
Partials 12 12
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Welcome your first contribution to suspensive ❤️
Overview
The
queries.ts
logic in theSuspenseInfiniteQuery
component example on suspensive.org was using inappropriatequeryOptions
. This PR updates the example to useinfiniteQueryOptions
instead for better accuracy and relevance.I referred to the
getNextPageParam
section in the useSuspenseInfiniteQuery part of this document.PR Checklist