t
tRPC
B
tRPC
•
14mo ago
•
1 reply
Bastin
Nextjs App Router example repo doesn't match NextJS App Router Docs
#
-help
The official documentation on how to use NextJSs App Router at
:
https://trpc.io/docs/client/react/server-components
Doesn
't match the example implementation
:
https://github.com/trpc/trpc/tree/87ea49ed1da187e72669ce6f638500369b16b749/examples/.experimental/next-app-dir
That makes the docs unprecise and confusing
. In the docs it
's unclear where to put TRPCProvider and in the example repo it doesn
't exist
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
.
GitHub
trpc/examples/.experimental/next-app-dir at 87ea49ed1da187e72669ce6...
Move Fast and Break Nothing
. End
-to
-end typesafe APIs made easy
.
- trpc
/trpc
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
Example Repo for NextJS App Router + React Query + tRPC
B
Børge / ❓-help
10mo ago
nextjs app router `fetchRequestHandler`'s createContext doesn't run.
V
Vilian / ❓-help
3y ago
TRPC with Nextjs 13 App Router
S
Spoeky / ❓-help
3y ago