feat: upgrade tanstack query to v5
Closes: https://github.com/blitz-js/blitz/issues/4188
What are the changes and their implications?
Feature Checklist
- [ ] Changeset added (run
pnpm changesetin the root directory) - [ ] Integration test added (see test docs if needed)
- [ ] Documentation added/updated (submit PR to blitzjs.com repo
mainbranch)
🦋 Changeset detected
Latest commit: 41166b077189efe4de186c454e94a8fa39a8e578
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 8 packages
| Name | Type |
|---|---|
| @blitzjs/next | Major |
| @blitzjs/rpc | Major |
| blitz | Major |
| @blitzjs/auth | Major |
| @blitzjs/codemod | Major |
| @blitzjs/config | Major |
| @blitzjs/generator | Major |
| next-blitz-auth | Patch |
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
!preview tanstack-query-5
Snapshot Release tanstack-query-5
It would be great to read more about your thinking on when to use useQuery and when to use useSuspenseQuery from a Blitz-Tanstack-Query-Bestpractice point of view once this is lands.
@tordans yeah for sure, I am working on a small writeup to post in the docs + in the release notes for this major