You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was extremenly frustrauting to me to not get or see setup guide in docs for Next.js (14) App Router. The current Next.js setup guide is only using Pages Router.
Please fix this as it is a very bad look for tRPC.
I didn't intend to use Server Actions, if I use tRPC, I wouldn't use Server Actions, and if I use Server Actions, I wouldn't use tRPC.
I'm only asking for a guide or doc explaining how to use tRPC (the server and client package) in Next.js 14 App Router, also explaining things like recommended directory structure and best practices.
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.
Activity
KATT commentedon Aug 19, 2024
(Duplicate of #5277)
We have a blog post of how you can do it in https://trpc.io/blog/trpc-actions, but it isn't a one-size-fits-all type of situation. The aforementioned example doesn't work well if you e.g. also want a React Native app to use the same endpoints.
In your situation - how did you end up setting up tRPC?
barziahmed commentedon Aug 19, 2024
I didn't intend to use Server Actions, if I use tRPC, I wouldn't use Server Actions, and if I use Server Actions, I wouldn't use tRPC.
I'm only asking for a guide or doc explaining how to use tRPC (the server and client package) in Next.js 14 App Router, also explaining things like recommended directory structure and best practices.
Thank you.
github-actions commentedon Aug 29, 2024
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.