Right way to catch all unexpected errors before they reach the user
tRPC sockets with react
Using `fetchRequestHandler` with other routes?
fetchRequestHandler
with a HatTip server, but all the examples seem to give tRPC entire control of all server responses. I actually want to serve other things besides tRPC routes. Anyone know how I could go about this?
So far I've tried this, as well as changing the endpoint
to "/"
and ""
. Always the same result, 404s on /trpc
```...Should useQueries be able to 'select' data?
useQueries
method to query for multiple items. I need to modify the result, so I'd like to use the select
property. However, by doing so, my results aren't modified to the properties I've selected, it still just returns the whole object.
Image #1 shows my select statement attempting to only grab the id
and permissionId
Image #2 shows the logged result in my browser displaying the full object....
Right way to structure your code when using tRPC?
React Native Usage
How can I cache a single procedure?
transformers, tensor.js, PyTorch and tRPC
NextJS and createProxySSGHelpers context type error
Validating Permissions
Any typescript chads able know if it's possible to map a type to another type w generics

Type safety with enabled option
useQuery enabled not working???
enabled
to false --> trpc.order.get({id: "123"}, {enabled: false})
still makes the request`QueryClientProvider` not included in `withTRPC`?
import { useIsMutating } from "react-query"
but it's throwing Error: No QueryClient set, use QueryClientProvider to set one
We have the trpc.withTRPC(MyApp)
with Next.js to add the tRPC provider - expected that this wouldn't also add the QueryClientProvider
?...Handle React error boundary
useErrorboundary
set to true and wrapped my component that uses trpc query with the React Error Boundary but it doesn't seem to be able to catch it. When I just throw before the query it successfully intercepts the error but from trpc seems its not doing that? Am I doing something wrong ??
```js
const [queryClient] = useState(...Any tips for Typescript slowness?
Change status of useMutation from 'success' back to 'idle'
Is it possible to call one procedure in another?
Handling Query Errors at Root of App (v9)
NextJS
frontend every time there is an error from useQuery
in a functional component. Is there a way to add something at the root of my app that can watch for trpc errors or do I have to handle it at every use of useQuery
? (note: i am on v9)