DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
Why is a monorepo (or equivalent type-sharing setup) typically required for tRPC to work in practice?
A
It isn't required at all — tRPC works with completely independent, unrelated repositories
B
The client needs a real, direct import path to the server's AppRouter type — without a shared codebase or published type package, there's no way for the client to literally reference that type
C
Monorepos are required by TypeScript itself for any project
D
This requirement only applies to gRPC, not tRPC
Check Answer