t
tRPC
S
tRPC
•
3y ago
•
24 replies
sh03
How to organise reusable functions
How do you guys organize functions that all need the same context
(usually from tRPC
)
?
For example let
's say that you have 10 functions you use multiple times across multiple routers and they all share the same context
. Do you use a class
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to organise output types?
S
sh03 / ❓-help
4y ago
Reusable Component to take router as props / dependency injection. How to type?
B
BillyBob / ❓-help
3y ago