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?
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?