Managing Type Safety Across Network Boundaries Using Effect

what's the best way to manage type saftey betweent he network bourndary? i used to use react server components, but you cannot pass effects through the network boundary, so i've move to api routes, but then i lose the type saftey. i'm reading through the tRPC docs, but was curious if Effect recommened a different solution.
Was this page helpful?