📄️ 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 Procedures
@trpc/react-query
🗃️ Links
5 items
📄️ Create Custom Header
The headers option can be customize in config when using the httpBatchLink or the httpLink.
📄️ CORS & Cookies
If your API reside on a different origin than your front-end and 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.