Custom React hook to obtain a gRPC-web promise client for a specified service.
Utilizes ConnectRPC to create a client that can interact with gRPC services.
This hook ensures that only one client instance is created per service type,
leveraging React's useMemo hook for performance optimization.
Custom React hook to obtain a gRPC-web promise client for a specified service. Utilizes ConnectRPC to create a client that can interact with gRPC services. This hook ensures that only one client instance is created per service type, leveraging React's useMemo hook for performance optimization.