Correct tRPC implementation (NextJS AppDir)
Hello !
I'm a little bit lost on the tRPC examples, especially on "examples-next-app-dir"
When should I use this :
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/server-http.ts
over this ?
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/server-invoker.ts
and this ?
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/rq-server.ts
I'm a little bit lost on the tRPC examples, especially on "examples-next-app-dir"
When should I use this :
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/server-http.ts
over this ?
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/server-invoker.ts
and this ?
https://github.com/trpc/examples-next-app-dir/blob/main/src/trpc/rq-server.ts
GitHub
Contribute to trpc/examples-next-app-dir development by creating an account on GitHub.
GitHub
Contribute to trpc/examples-next-app-dir development by creating an account on GitHub.
GitHub
Contribute to trpc/examples-next-app-dir development by creating an account on GitHub.