create-t3-app
create-t3-app copied to clipboard
feat: trpc tanstack query integration
Closes #2065
✅ Checklist
- [x] I have followed every step in the contributing guide (updated 2022-10-06).
- [x] The PR title follows the convention we established conventional-commit
- [x] I performed a functional test on my final commit
Changelog
This updates the app router to use the new trpc tanstack query integration over the classical one as described in the trpc docs
🦋 Changeset detected
Latest commit: 46bbb9a51105c852fdc924dd20a299bdb72f6be5
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| create-t3-app | Minor |
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 ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| create-t3-app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 18, 2025 8:53pm |
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| @types/react-dom@19.1.6 | ||||||
| @types/react@19.1.8 |
I also would like someones opinion on how I implemented the prefetching for RSC. My rationale was that there are a lot of different api like variables that need to be imported (useApi for the client and api for the server) and I didn't want to add another one for prefetching since it felt a little confusing (especially since you might be doing a query and prefetching and they need different api imports) so I tried out this function with a callback that will handle it for you but it also feels a little strange so would like some input on that.
This is my first OS contribution so let me know if I did anything incorrectly I apologize in advanced and I'm happy to fix anything I did incorrectly.
Can't wait for this