tRPC
Join the tRPC server to ask questions!
Join ServerChannels
setting up trpc in next 14
migration trpc from pages to app router in Next.js
Have anyone tried migration from TRPC router to app router api
Has anyone integrated trpc + udp (quic/webtransport api)?
onSuccess invalidate
React Query client and caller client under one object
I want to refetch and set the inital data of an useState
SSR
, but i want to use somethinng that makes it possible to update the useState on interactions from the user. Im guessing I should use useQuery
?How can i set it so initialData in my useState works. this is my current useState line: ```tsx...
Vanilla Client Error Handling
sidebar search

WS with TRPC
tRPC is butchering object types in return types
{ name?: string }
{ name?: string }
Why my Authorization does not update ?
_app.tsx
```export default function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<title lang="en">Holistic Drop</title>...TypeError: queryClient.getMutationDefaults is not a function (it is undefined)
useQuery never returning or hitting API
❯ npm create t3-app@latest
example app to add to an exisitng app. I am trying to call the simple post.hello
and i tis working on the server. but when I call it on the client side like:
const postResult = api.post.hello.useQuery({text:'Hello'});
const postResult = api.post.hello.useQuery({text:'Hello'});
Type 'QueryClient' is missing the following properties from type 'QueryClient': queryCache, mutation
Type 'QueryClient' is missing the following properties from type 'QueryClient': queryCache, mutationCache, logger, defaultOptions, and 4 more.
Type 'QueryClient' is missing the following properties from type 'QueryClient': queryCache, mutationCache, logger, defaultOptions, and 4 more.
trpc mutation call stuck
Create client based on OpenAPI
TRPC with react query, getting error twice?
Error building create-t3-app: Page couldn't be rendered statically because it used `cookies`
TRPCClientError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
TRPCClientError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error