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

    Function useMembers

    • Returns the membership of a space. Reactive: re-renders on join/leave/role/presence changes. Replaces @dxos/react-client's useMembers (which took a PublicKey; this takes a SpaceId).

      Parameters

      • OptionalspaceId: SpaceId

      Returns readonly {
          data?: { readonly [key: string]: any };
          did?: IdentityDid;
          displayName?: string;
          identityKey?: string;
          online: boolean;
          role: "pull" | "read" | "edit" | "admin";
      }[]