t
tRPC
7
tRPC
•
2y ago
•
2 replies
7up
NextJS App Routers with tRPC: can't call query on server component
Hi all
,
I
'm folloing this guidline to setup nextjs with tRPC but it didn
't work when I call the query on server componet
:
https://trpc.io/docs/client/react/server-components#getting-data-in-a-server-component
The
query
wasn
't show up when I call
: await trpc
.hello
.query
(
)
Is there any config that I missed
?
Thanks
!
!
Set up with React Server Components | tRPC
This guide is an overview of how one may use tRPC with a React Server Components
(RSC
) framework such as Next
.js App Router
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Server Component Call to TRPC on express backend
J
Jaaneek / ❓-help
3y ago
trpc with app dir nextjs
M
Maj / ❓-help
3y ago
TRPC with Nextjs 13 App Router
S
Spoeky / ❓-help
3y ago