Throwing error in trpc route, continuously sending a request
I tried to change to
protectedProcedure
on hello
router to see if the Suspense
and ErrorBoundary
is working.
As you can see on my network tab I already have a thousands request, I followed the Tanstack React Query/Server Components .
And for the other screenshot that I provided, those are the only changes I made.Set up with React Server Components | tRPC
This guide is an overview of how one may use tRPC with a React Server Components (RSC) framework such as Next.js App Router.




0 Replies