Blog Logo

Why we ditched GraphQL for tRPC

At Echobind, were always looking for ways to improve our processes. After trying out tRPC, weve decided to adopt it as the official API layer for Bison. Both tRPC and GraphQL serve the same purpose of getting data from server to client, but tRPC allows for server-defined procedures and type checking at runtime using validator libraries like Zod. Its also compatible with React Query, providing an excellent caching layer for an improved user and developer experience. See what it took to make the migration by checking out the canary branch commit.