📄️ Create Vanilla Client
The magic of tRPC is making strongly typed API calls without relying on code generation. With full-stack TypeScript projects, you can directly import types from the server into the client! This is a vital part of how tRPC works.
📄️ Aborting Procedure Calls
@trpc/react-query
🗃️ Links
5 items
📄️ Create Custom Header
The headers option can be customized in the config when using the httpBatchLink or the httpLink.
📄️ CORS & Cookies
If your API resides on a different origin than your front-end and you wish to send cookies to it, you will need to enable CORS on your server and send cookies with your requests by providing the option {credentials: "include"} to fetch.