Arxk
Arxk5d ago

Using react server components with separate API

Hi I have a separate API from my frontend, when setting up https://trpc.io/docs/client/react/server-components how would I be able to have it use my separate API url instead
Set up with React Server Components | tRPC
These are the docs for our 'Classic' React Query integration, which (while still supported) is not the recommended way to start new tRPC projects with TanStack React Query. We recommend using the new TanStack React Query Integration instead.
1 Reply
Arxk
ArxkOP5d ago
It appears fairly straight forward for client components But I don't see anything for RSC

Did you find this page helpful?