How do *you* structure the tRPC router when dealing with isolated components?
/[locale]/(dashboard)/categories/posts/comments/list-component/my-procedure.ts
) has a procedure.
Everything inside the folder /[locale]/(dashboard)/categories/posts/comments/list-component
is a single react component (tree). I.e. I don't share this component anywhere else. But it still has a query procedure to fetch the data we need for it. ...Can we bundle WS TRPC Server?
How to handle consistency for client-side only APIs?
Does server side helper's fetch also fill the cache like prefetch?
fetch
also add the query to the cache, which I then dehydrate and send to the client?
I need to access data both server side and client side...SSR with NextJs app directory
Cannot read __untypedClient from undefined error when try to update to latest 11.rc### versions
Nextjs App Router example repo doesn't match NextJS App Router Docs
Problem using EventEmitters [Weird behavior]
Migrating to use Superjson
Type safe errors?
Can I get a mutations input type form my client?
Output typings in Monorepo always resolve to any
Image upload using TRPC
I'd love to brainstorm about #5580
disableSourceOfProjectReferenceRedirect
enabled, which leads to the behavior described in that post, with Go-To-Definition completely broken, even with type source maps available....can't create context when using nextjs app dir
Types of parameters 'opts' and 'opts' are incompatible.
Property 'res' is missing in type 'FetchCreateContextFnOptions' but required in type 'CreateNextContextOptions'
Types of parameters 'opts' and 'opts' are incompatible.
Property 'res' is missing in type 'FetchCreateContextFnOptions' but required in type 'CreateNextContextOptions'
subscriptions on edge
Turn off batching for some queries?
cache-control private
for authenticated data that's requested frequently by the client across page reloads) but because of batching, I'd need to make sure requests to these queries are never batched so the headers only refer to the one query at a time.
Are there any tricks for this? Or any better approaches for my use case?...Error: This is a client-only function.
11.0.0-rc.660
but in 11.0.0-rc.682
it's not. I didn't change any code. I just rolled back and confirmed.
```ts
const createCaller = createCallerFactory(this.router);
const caller = createCaller(socket.ctx);...Disable explicit content-type checks