Gabriel
is there a definitive solution to the slow language server/compilation issue?
Hi @tltl a lot of people experiencing these types of issues.
Some useful comments from Alex here: https://discord.com/channels/867764511159091230/1020132255567454310/threads/1260588869967937556
8 replies
How to improve typescript performance?
So, to recap your proposal:
- packages/trpc-base - has
initTRPC
, createTRPCContext
, exports procedures and maybe middlewares
- packages/trpc-posts - trpcRouter. depends on packages/trpc-base
- packages/trpc-users - trpcRouter. depends on packages/trpc-base
- packages/trpc-api - Main app router, where it will construct the main appRouter. export what is needed for server and client api
objects. (server caller, etc.). Depends on all other packages57 replies