Pass headers when prefetching using helpers
I dont see a way to pass headers and cookies with either fetch/prefetch methods from the ssr helper.
They accept a context option but it is typed as a
Record<string..
, so i'm not sure what it does.
I'm following the external routers. https://trpc.io/docs/client/nextjs/server-side-helpers#2-external-router2 Replies