-
Notifications
You must be signed in to change notification settings - Fork 53
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
chore(react-query): update JSDoc for useSuspenseQueries
, useSuspenseInfiniteQuery
#923
Conversation
🦋 Changeset detectedLatest commit: bce9865 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -27,7 +27,7 @@ export interface UseSuspenseInfiniteQueryOptions< | |||
> {} | |||
|
|||
/** | |||
* This hook is wrapping useInfiniteQuery of @tanstack/react-query v4 with default suspense option. | |||
* This hook is wrapping useInfiniteQuery of `@tanstack/react-query` v4 with default suspense option. |
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.
I've made revisions for consistency.
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.
@@ -109,6 +109,10 @@ export type SuspenseQueriesResults< | |||
: // Fallback | |||
Array<UseSuspenseQueryResult> | |||
|
|||
/** | |||
* This hook is wrapping useQueries of `@tanstack/react-query` v4 with default suspense option. |
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.
I added the JSDoc for this function as it was missing.
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.
👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #923 +/- ##
=======================================
Coverage 83.44% 83.44%
=======================================
Files 33 33
Lines 435 435
Branches 99 100 +1
=======================================
Hits 363 363
Misses 62 62
Partials 10 10
|
Thanks! You made so much better jsdoc! |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @suspensive/react-query@2.0.6 ### Patch Changes - [#923](#923) [`1e7fbbe`](1e7fbbe) Thanks [@gwansikk](https://github.com/gwansikk)! - fix(react-query): update JSDoc for `useSuspenseQueries`, `useSuspenseInfiniteQuery` - Updated dependencies \[]: - @suspensive/react@2.0.6 ## @suspensive/react@2.0.6 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…seInfiniteQuery` (#923) # Overview Updates the JSDoc for the `useSuspenseQueries` and `useSuspenseInfiniteQuery` functions. ## PR Checklist - [x] I did below actions if need 1. I read the [Contributing Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md) 2. I added documents and tests. --------- Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @suspensive/react-query@2.0.6 ### Patch Changes - [#923](#923) [`1e7fbbe`](1e7fbbe) Thanks [@gwansikk](https://github.com/gwansikk)! - fix(react-query): update JSDoc for `useSuspenseQueries`, `useSuspenseInfiniteQuery` - Updated dependencies \[]: - @suspensive/react@2.0.6 ## @suspensive/react@2.0.6 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…seInfiniteQuery` (#923) # Overview Updates the JSDoc for the `useSuspenseQueries` and `useSuspenseInfiniteQuery` functions. ## PR Checklist - [x] I did below actions if need 1. I read the [Contributing Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md) 2. I added documents and tests. ---------
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @suspensive/react-query@2.0.6 ### Patch Changes - [#923](#923) [`1e7fbbe`](1e7fbbe) Thanks [@gwansikk](https://github.com/gwansikk)! - fix(react-query): update JSDoc for `useSuspenseQueries`, `useSuspenseInfiniteQuery` - Updated dependencies \[]: - @suspensive/react@2.0.6 ## @suspensive/react@2.0.6
…seInfiniteQuery` (#923) # Overview Updates the JSDoc for the `useSuspenseQueries` and `useSuspenseInfiniteQuery` functions. ## PR Checklist - [x] I did below actions if need 1. I read the [Contributing Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md) 2. I added documents and tests. --------- Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @suspensive/react-query@2.0.6 ### Patch Changes - [#923](#923) [`1e7fbbe`](1e7fbbe) Thanks [@gwansikk](https://github.com/gwansikk)! - fix(react-query): update JSDoc for `useSuspenseQueries`, `useSuspenseInfiniteQuery` - Updated dependencies \[]: - @suspensive/react@2.0.6 ## @suspensive/react@2.0.6
…seInfiniteQuery` (#923) # Overview Updates the JSDoc for the `useSuspenseQueries` and `useSuspenseInfiniteQuery` functions. ## PR Checklist - [x] I did below actions if need 1. I read the [Contributing Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md) 2. I added documents and tests. --------- Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @suspensive/react-query@2.0.6 ### Patch Changes - [#923](#923) [`1e7fbbe`](1e7fbbe) Thanks [@gwansikk](https://github.com/gwansikk)! - fix(react-query): update JSDoc for `useSuspenseQueries`, `useSuspenseInfiniteQuery` - Updated dependencies \[]: - @suspensive/react@2.0.6 ## @suspensive/react@2.0.6
Overview
Updates the JSDoc for the
useSuspenseQueries
anduseSuspenseInfiniteQuery
functions.PR Checklist