tRPC 10 Mutations Firing Twice in Deployed Releases Only
useQuery with query params
infiniteQuery always undefined cursor
useInfiniteQuery
is supposed to work with React. I have a route fetching logs defnied like so:
On the server:...Migrating v9 to v10 - - using the client?
trpc.useContext().client
to perform several mutations. For example:
const addMeasurementPromise = client.mutation('measurements.add', { ...data})
const addMeasurementPromise = client.mutation('measurements.add', { ...data})
Using tRPC and something else too? For building a mobile app / public API.
whats the difference between context and middleware
Axios, ExpressMiddleware and TRPCErrors
base path
Any Benefit using tRPC for only remote api calls?
Can I connect to a regular node express with socket.io?
how does one actually make trpc/client work with the app router
when i deploy frontend trpc fails to compile

how to rate limit in trpc express/nodejs server (not nextjs)
Disable fetch on load
is it possible to record the requests on the server side ?
Streaming responses (eg. for streaming ai chat completion text)
ai
package or any similar libraries which stream their responses with tRPC? I'm wondering what the best way to achieve a streamed response like that is while maintaining type safety. The trouble with useSubscription()
is that it behaves more like a query than a mutation, so it would need to be called immediately when the component mounts rather than being triggered by some user action.Handling errors on the front-end
TypeScript Alias Imports don't get resolved ont the Client
/packages/*
packages, each has its own tsconfig.json
. I noticed that I get type errors on the client
side if I use TypeScript alias path imports on the server
package. The alias import paths for the server are only defined in the server/tsconfig.json
and not in the client/tsconfig.json
.
If I change the alias imports on the server side to relative imports, it works on the client. It seems like TypeScript cannot follow the imports correctly from client to server, because it doesn't check the server tsconfig.
Anyone the same issue?...merging other routers to appRouter
Can I get non-redacted INTERNAL_SERVER_ERRORS in production?
onError
handler, which is a little surprising: I don't want to send stack traces to the wider internet, of course, but I'd want an internal, server-side-only error handler with the raw errors. Is that possible? Thanks!