jlarmst
v11 `Invalid Content-Type header`
Locally! Links are custom based on the SOA example because I’m trying out serverless with sst too. The only thing I wrote down to check tomorrow is that I’m setting custom headers and not setting a content-type
15 replies
SSR with initialData throws error
It works in the two other cases (Astro server component and react client component), so I suspect the issue is with the
The typescript types seems to indicate that I can pass the expected return value of the query as the
initialData
props in the React SSR component.The typescript types seems to indicate that I can pass the expected return value of the query as the
initialData
(which I fetch successfully from the trpc endpoint in the Astro server component), but perhaps I should pass something else like raw response or body? The same exact query works perfectly on the client if I don’t use initialData
9 replies
SSR with initialData throws error
I guess I'm confused because it works great with the vanilla client in an astro component, and works great with a client-only react component. Only when I try to use SSR and initialData with react do I get an error
9 replies