T
tRPC
t3-turbo
Recommended Posts
avoiding used more hooks than previous renderI understand whats causing the error in my code, im checking if id is defined before calling useQuerHow would batching result in a single database query?On the `httpBatchStreamLink` docs it says that multiple query calls could result in a single databasTS error cause Query is not returning correct type to the client!So Ive build a query which return a type called Employee, for example.
on my client I've props whichTypescript helper for router outputis there a helper to do this better? Get the output for a certain route? Or is this the way to do it