tRPCttRPC
Powered by
nitestackN
tRPC•3y ago•
6 replies
nitestack

Next.js app router + TRPC...how to set it up?

Note
You can already use tRPC with app directory, by:
>
- using
@trpc/client
@trpc/client
directly in components (both RSC and non-RSC)
- use
@trpc/next
@trpc/next
for client components

I saw this written in the readme of the example-next-app-dir

What does this mean? How can I set it up?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to cache trpc server request next.js app router
P.S.NikhilPP.S.Nikhil / ❓-help
3y ago
Next.js App router
BrianBBrian / ❓-help
8mo ago
Next js Pages Router, TRPC
louLlou / ❓-help
5mo ago
Questions around trpc with next.js app router
HobbsHHobbs / ❓-help
2y ago