JamalJ
Convex Community3y ago
8 replies
Jamal

Do I need TRPC with Convex?

So i was wondering, since convex is type safe by default and seems to make api request to convex from its hooks, is there a need to use something like trpc while using convex?

TRPC + nextjs makes the api routes more type safe, however convex kinda has its own api from the /convex folder when you call api.task.get in your components. So it seems like TRPC would not really be needed.
Was this page helpful?