CraftzCode
CraftzCode3d ago

What is the best approach when using monorepo with tTPC

What is the best approach when configuring tRPC inside of monorepo? I would like it to be used in Next.js, I create an internal library for tRPC example packages/api so I can call it anywhere in monorepo, now I would like to know where exactly is the best place for the client.tsx and for the tRPC caller for Server Components which is the server.tsx can I place it also inside of the internal library of tRPC or I will place it inside of Next.js which is on apps/web.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?