Tag
tRPC
Articles connected to trpc.
Editorial
tRPC articles
Tutorials
Why tRPC OpenAPI Generated Incorrect Types for Optional Responses
A tRPC procedure can return undefined, while its generated OpenAPI schema previously promised that result.data would always exist. Version 11.32.2 fixes this mismatch.
Tutorials
How to Prefetch React Queries Without a Route Loader in tRPC 11.32
tRPC 11.32 introduces useLoadHandles(), allowing React pages to start multiple queries without a route loader. Here's how to pass typed handles to components and avoid unnecessary request waterfalls.