docs: Next Minimal Starter v10 Upgrade
See original GitHub issueArea of Improvement
I would recommend matching the next-minimal-starter sample project with the Usage with Next.js docs page. Here are a couple of changes that I would suggest:
- Usage with Next.js suggests router merging, so we should provide the example with such and adopt the file structure recommended by Recommended file structure.
- Introduce a second sub-router to fetch posts from an open API such as jsonplaceholder to illustrate an additional query and batching.
- Index page should list Discord server and GitHub discussions as other examples.
- Update the link from
/example-apps, click here to visit the href.
Link to related docs
https://trpc.io/docs/v10/nextjs
Additional information
No response
👨👧👦 Contributing
- 🙋♂️ Yes, I’d be down to file a PR implementing the suggested changes!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Blog - Next.js 12
Underlying webpack improvements: We've made numerous improvements to webpack, including optimizing Fast Refresh and making on-demand entries ...
Read more >Example Apps
Example Apps · Next.js starter with Prisma, E2E testing, and ESLint (Recommended) · create-t3-turbo - T3 Stack with Expo and Turborepo · Next....
Read more >Requirements for upgrading v10 versions on VMware
Upgrade from, Upgrade to the latest iFix for v10.0.1.2. v2018-fp15, Upgrading from v2018 to v10.0.1.2 on VMware. v10.0.0.0; v10.0.0.0-ifix2 ...
Read more >Upgrade Guide - Laravel - The PHP Framework For Web ...
Horizon v5.0 · Passport v10.0 · Socialite v5.0 · Telescope v4.0. In addition, the Laravel installer has been updated to support ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I remember the initial point of the minimal was that someone felt overwhelmed by all the files so separating it I don’t think is a good idea. This is, as the name suggests, the minimal setup required to get tRPC+Next working together.
Having it as 2 files, 1 server and 1 client, also helps for the QuickStart stackblitz embed on https://trpc.io#try-it-out.
This we could absolutely do. Could make it a bit prettier too I guess as long as it isn’t too distracting 🤔
I think its fine -as is- since its in fact a “minimal” example.
We have next-prisma-starter that addresses these as well.
I think this is a good idea
This is good feedback but i wouldnt put it in minimal(suggestions?)