-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: add suspensive react query to community projects #7846
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Jonghyeon Ko <[email protected]>
github-actions
bot
added
the
documentation
Improvements or additions to documentation
label
Aug 4, 2024
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 4f2402e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
gwansikk
changed the title
docs: add react suspensive react query to community projects
docs: add suspensive react query to community projects
Aug 4, 2024
manudeli
reviewed
Aug 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello! I am the maintainer of @suspensive.
The @suspensive/react-query package now officially supports @tanstack/react-query v5, and we would like to add it to the v5 Community Projects.
You can find more details in the documentation: Support both TanStack Query v4 and 5
1️⃣ Since @suspensive/[email protected], it supports both @tanstack/react-query v4 and v5.
@suspensive/react-query is composed of @suspensive/react-query-4 and @suspensive/react-query-5, which provide interfaces corresponding to the version of @tanstack/react-query. It detects the installed version of @tanstack/react-query in the user's environment and automatically provides the compatible interface.
2️⃣ It is a good method for migrating to @tanstack/react-query v5.
Hooks such as useSuspenseQuery, useSuspenseQueries, and useSuspenseInfiniteQuery, which were not originally available in @tanstack/react-query v4, can now be used. Currently, these hooks are officially provided in @tanstack/react-query v5, making it a good alternative for migrating from @tanstack/react-query v4 to v5.
By using @suspensive/react-query, users who are leveraging features not provided in @tanstack/react-query v4 (e.g., Suspense Query, queryOptions) can easily migrate to the v5 API. We re-export the @tanstack/react-query v5 API to inform users about the transition.
Example: