Calling procedures from Next server actions
Hi, is using trpc client allowed in server actions? I have two use cases, in one i call procedure from server component with the 'use server'
and it works well every time and in my login action the prcedure is never called unless i remove 'use server' from the top of the file
I dont understand this behavior, can someone please explain me what is going on ? In my login page i have
so it's not cache
4.8KMembers
View on DiscordMore Posts
TRPC Typescript auto serialize errorThe inferred type of this node exceeds the maximum length the compiler will serialize. An explicit tTRPC with MSWDoes anyone have a basic example on how to set up MSW in a React Vite TRPC env?
My main question isRevalidate / invalidate in server componentsIs there a solution for TRPC query invalidation (or revalidating), passing the actions from the clieTypescript type error with latest versionI'm initialising a project with trpc v11 and I'm trying to strictly follow the documentation for rea