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

    Function useSpace

    • Resolves a single space by id, or undefined. Reactive. Replaces useSpace. Unlike the legacy hook this takes a SpaceId only (no PublicKey).

      Parameters

      • OptionalspaceId: SpaceId

      Returns
          | undefined
          | { id: SpaceId; name?: string; state: "inactive"
          | "closed"
          | "ready" }