tRPC

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Mar 23 8:20
Editor
Edited
Edited
2025 Oct 8 9:19
Refs
Refs
  • Frontend - instead of fetch('/api/user/1')trpc.userById.query('1')
  • End-to-End Type Safety from frontend to backend by defining input/output types
  • Can be used with auto-completion without Swagger, Postman, or REST API documentation
  • Integrated with React Query for automated caching and refetching
In the React ecosystem, since
TanStack Query
has become the standard for server state synchronization, the tRPC team abandoned their own caching and adopted React Query.
tRPC Usages
 
 
 
 
 
 
 

Recommendations