react-query no cookies on initial load
1.
Cookie test
is set in the middleware.
2.
The /
page is invoking a procedure using server caller....Brainstorming how to convert REST api to tRPC
/stores/:store/items/:items
and store could have many sub routes to it. is there any ideas on the best way to convert this into a tRPC route?rate limiting with @fastify/rate-limit
Shopping cart + TRPC
createTRPCReact cannot be named without a reference to x
createTRPCReact
I'm getting the following type error
```ts
The inferred type of 'trpcReact' cannot be named without a reference to '../../node_modules/@repo/api/dist/router/post'. This is likely not portable. A type annotation is necessary....How do I use the rsc-rq-prefetch example with a protected procedure?
how to handle or hydrate error throwed in prefetch with streaming?
Procedure passed as argument to function loses type safety.
createTRPCEndpoint
, the returned procedure loses the type definition of input
....Error "Subscriptions should use wsLink"
Why are `new QueryClient` and `trpc.createClient` run inside a component in the React setup?
How are errors handled in batched requests
File upload with formdata
Zod formatting Error
When a procedure returns an instance of a class, the superjson isApplicable doesnt detect it
Validating inputs and outputs only via typescript
ts-morph
but I am having trouble with passing the zod
schema/object instance to it (since I need to pass the original implementation, not the instance).
I was thinking about a way to work around this and was wondering if I could somehow just pass the zod typescript type in the inputs and outputs - keep in mind that my usecase only calls for the type definitions to work, not the actual implementation.
```ts...Zod error not being formatted
AppRouter type is imported as any
v10 useQueries does not return a stable reference
strange behaviour with t3 trpc starter