blitz icon indicating copy to clipboard operation
blitz copied to clipboard

feat: upgrade tanstack query to v5

Open siddhsuresh opened this issue 1 year ago • 1 comments

Closes: https://github.com/blitz-js/blitz/issues/4188

What are the changes and their implications?

Feature Checklist

  • [ ] Changeset added (run pnpm changeset in the root directory)
  • [ ] Integration test added (see test docs if needed)
  • [ ] Documentation added/updated (submit PR to blitzjs.com repo main branch)

siddhsuresh avatar Jul 16 '24 12:07 siddhsuresh

🦋 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

changeset-bot[bot] avatar Jul 16 '24 12:07 changeset-bot[bot]

!preview tanstack-query-5

siddhsuresh avatar Nov 05 '24 13:11 siddhsuresh

Snapshot Release tanstack-query-5

github-actions[bot] avatar Nov 05 '24 13:11 github-actions[bot]

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

siddhsuresh avatar Dec 20 '24 14:12 siddhsuresh