Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
should I share TRPC client in a internal package? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
kevinka
should I share TRPC client in a internal package?
I have 2 clients and 1 server in one monorepo
. these 2 clients are consuming the same api
/using the same trpc
.
both are doing the same
, having a file just to crate the TRPC on the app by following this code
:
export const trpc = createTRPCReact<AppRouter>();
export const trpc = createTRPCReact<AppRouter>();
is right to share it in a internal package
?
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Should I share packages on Turborepo?
TTC
Theo's Typesafe Cult / questions
3y ago
Use tRPC in a package in monorepo
TTC
Theo's Typesafe Cult / questions
2y ago
Consumer tRPC client package from private API type?
TTC
Theo's Typesafe Cult / questions
3y ago
TRPC Internal Server Error
TTC
Theo's Typesafe Cult / questions
3y ago