Sanity App SDK
    Preparing search index...

    Variable getCommentsStateConst Beta

    getCommentsState: (
        instance: SanityInstance,
        options: CommentsOptions,
    ) => StateSource<Comment[] | undefined> = ...

    Every comment on a document, newest first.

    undefined until the first snapshot arrives. Replies are included; use getCommentThreadsState to read them grouped.

    Type Declaration