Best PracticesBest PracticesPatterns and tips for building production Silgi APIs.Copy MarkdownOpenPatterns that work well in real Silgi projects. Testing & MockingUnit test procedures with callable(), integration test with createServerClient(), HTTP test with handler().Monorepo SetupShare the router type between frontend and backend in a pure RPC monorepo.SSR OptimizationPrevent refetch waterfalls with server-side prefetching and hydration.WebSocketBidirectional RPC over a persistent connection — ideal for real-time features and subscriptions.Testing & MockingTest Silgi procedures without starting a server.