Optimistic updates using tRPC 11 with TanStack React Query 5
createHydrationHelpers
createHydrationHelpers
, and what it exactly does?
I'm also wondering, if it's still needed, in the new way of handling react query with tRPC. I saw a PR on the ct3a github, where they said that the legacy integration package is still necessary, for that specific function. Also that it could be remvoed once this https://github.com/vercel/next.js/discussions/60640 is resolved, but I don't think that's going to happen any time soon....lazy loading does not work, but direct import works
Incomplete imported router type

Bun & Hono websocket
Is there a typescript performance gain if I infer my router outputs once, and then export them?
Throw Validation error inside the procedure?
Question about onError and modifying error messages in tRPC
tRPC does not have headers data when refreshing.
Unref() the websocket
what is the format/type of data received in transformer.deserialize in httpBatchStreamLink?
trpc caching procedure calls for queries in the same batch
protectedGuildPermissionsProcedure
which essentially checks that the user has the right permissions to access the data that is returned.
```ts
await Promise.all([...How do I fetch data conditionally?
mutation
queries to do some actions and queries
for getting data.
I need to get data conditionally, I don't need to get a certain data but only on some specific event, I don't know if there's an option for that like the useMutation
and useQuery
.
I've tried fetch
, but it seems like I don't use the right client configuration?
```ts...
What is the type of the query resolver?
const somt = t.task.admin.lessons
What is the type of this somt
variable? Imagine I am passing it as argument to some function, I need to know the type of the argument I should use....SSE issue with CORS and Fastify
mutation taking a long time to appear after prefetching query
isCaptchaValid
endpoint errors (using throw new TRPCError(...)
) the error message takes a long time to come through, it appears that it is linked to the endpoints execution time, as if I add some code to wait 2 seconds before executing it dramatically increases the time it takes for the error to come back.
I am using nextjs loading.tsx which is how the loading animation works, so as soon as the loading animation is gone it means that TRPC data has finished fetching, so the error message should be appearing instantly?...Server actions leaking .env

When upgrading to v11, the AppRouter in .d.ts is any
Does batch streaming get counted as a single function invocation on Vercel?