Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
when to use tRPC vs a nextjs api route - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
28 replies
Domcario
when to use tRPC vs a nextjs api route
ive really started to appreciate the tRPC
-prisma data flow to my frontend
, but im coming from a nextjs
-not
-typescript background
. ive been using api routes there forever
, and i still see it in the ct3a directory
. but when do i use it then
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Use trpc on nextJS api route?
TTC
Theo's Typesafe Cult / questions
3y ago
tRPC vs nextJS API routes
TTC
Theo's Typesafe Cult / questions
4y ago
When to use "src/page/api/doStuff.ts" vs "src/server/api/routers/routerThatDoesStuff.ts"
TTC
Theo's Typesafe Cult / questions
3y ago