TRPC with Turborepo Nextjs
Do you guys usually put trpc inside the nextjs project or have it outside as a separate package/service?
I've seen some people put the whole trpc in a package of its own and just import the api object in nextjs from the package. wondering what are the advantages and disadvantages of the either way
I've seen some people put the whole trpc in a package of its own and just import the api object in nextjs from the package. wondering what are the advantages and disadvantages of the either way