3 ms·
tRPC is more than schemas, though - in tRPC schemas are actually supplied by Zod. tRPC is more of a framework that abstracts away building an API and makes remo
by vosper 4y ago
tRPC is more than schemas, though - in tRPC schemas are actually supplied by Zod. tRPC is more of a framework that abstracts away building an API and makes removes the perception of a serialization barrier between client and server. It feels like it's all one codebase. It also carries types across, so that changing (eg) the shape of a database response will immediately throw up type errors in client-side code.