Migrating pages router to app router

Prefetching with tRPC: Using hono.js/Express adapter and Next.js
Hono.js
or Express
as the adapter for tRPC
and my frontend is Next.js
, will I be able to utilize the prefetch
features referenced in Set up with React Server ComponentsTypes question
What is the best approach when using monorepo with tTPC
internal library
for tRPC
example packages/api
so I can call it anywhere in monorepo, now I would like to know where exactly is the best place for the client.tsx
and for the tRPC caller for Server Components
which is the server.tsx
can I place it also inside of the internal library of tRPC or I will place it inside of Next.js which is on apps/web
.Troubleshooting createTRPCOptionsProxy with Server Components and Context Passing
createTRPCOptionsProxy
work in server components?
I'm creating a context that passes the hono
context to createTRPCContext
in order to obtain the HTTP headers
, since I need to forward those headers
to the better-auth API
to get the session
I use @hono/trpc-server
which created by the hono
so I can use hono
as adapter of trpc
.
```...
Integrating hono.js with tRPC in Next.js: Routing and Context Considerations
src/app/api/[[...route]
) as the example below
Option 2. N -> T - You use the tprc adapter for nextjs directly and src/app/api/trpc/[trpc]/route
I think you might missunderstanding what's the purpose goal of HonoJS, vs nextjs api/server and how they interact with TRPC...httpStreaming with NonJsonSerializable

server calls alongside new react integration
swagger to trpc-like interface generator?
swagger-typescript-api
and custom templates, but wondered if anyone did it already or if there is any open source project that does almost the same thing, so I can get better ideas for implementation.
Thanks...makeQueryClient missing default arguments

Sending FormData does not work at all
splitLink
with a condition for isNonJsonSerializable
How would I go about passing an image to the server using tRPC?
How to forward headers (cookies) w/ Tanstack Start
...(typeof window === 'undefined' && headers: getHeaders()})
to the createTRPCClient
call in router.tsx
which works in dev and fails in build (probably because that function isn't supposed to b...A simple example of using SSE and subscriptions
onComplete
, onData
, etc options in a plain subscription got removed and is only available in useSubscription()
? The types from v10 have it https://github.com/trpc/trpc/blob/3bc06d055d3b860d978e9c465bce56fdcf95b71f/packages/client/src/internals/TRPCUntypedClient.ts#L32
Thanks!...tRPC v11 FileLike
Exported variable 'router' has or is using name 'FileLike' from external module "/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentTypeParsers" but cannot be named.
Node version: v20.17 using pnpm...Auth Headers in Singleton Pattern
access_token
is only accessible within React land.
Given this, what is the recommended method to include the access_token
in the tRPC headers? Can this be achieved using the Singleton Pattern, or is it necessary to use TRPCProvider
instead?...Use middleware on the router level
v11 types ProcedureBuilder & MiddlewareBuilder
@trpc/server
. With v11 you can only import them via unstable-core-do-not-import
.
I have some properties on a class that should hold a t.middleware
and a t.procedure
. What's the recommended way to type my Middleware
and Procedure
in v11?
```ts...tRPC Monorepo w/ Package Path Aliases
create-t3-turbo
but with path aliases in that API sub package. I see Julius has setup a great monorepo example, however I see in all the packages he is only using relative imports.
Is this possible?...