tRPCttRPC
Powered by
SansPapyrus683S
tRPC•3y ago•
1 reply
SansPapyrus683

trying to understand how this works

so i'm looking at the t3 template that was made for me, and there seems to be a
trpc
trpc
folder that creates the trpc proxy client and such along with
server/api
server/api
which actually defines the method

in that case, what's the use for the api route? it seems to me like i'm initialiting trpc twice, basically
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 solve this
manumanagerMmanumanager / ❓-help
2y ago
Help to understand how and when to use tRPC in larger projects
tmy03Ttmy03 / ❓-help
4y ago
Don't understand cache
VengeanceVVengeance / ❓-help
2y ago
Can someone explain to me how `deserialize` works in `input` of `transformer`?
PipetteBlowerPPipetteBlower / ❓-help
2y ago