Const
Beta
Every comment on a document, newest first.
undefined until the first snapshot arrives. Replies are included; use getCommentThreadsState to read them grouped.
undefined
Comments have moved to the organization collaboration API. Import from @sanity/sdk/collaboration; this add-on dataset API is removed in the next major.
@sanity/sdk/collaboration
Every comment on a document, newest first.
undefineduntil the first snapshot arrives. Replies are included; use getCommentThreadsState to read them grouped.