@dxos/react-client
    Preparing search index...

    Function useEdgeServiceEndpoint

    • Hook resolving an EDGE service endpoint from the client config; undefined when the service is not configured.

      Returns undefined outside a ClientProvider rather than throwing: the callers are app-wide drivers mounted by Capabilities.ReactContext, which render during startup and on any path where the client never arrives — a throw there takes the whole app to the fatal dialog over an endpoint the driver only needs once it has work to do.

      Parameters

      • serviceName: EdgeServiceName

      Returns undefined | string