Skip to content

useComments

function useComments(store): {
threads: CommentThread[];
};

Defined in: react/src/comments.tsx:30

Subscribe to a store and get its current threads, re-rendering on change.

ParameterType
storeCommentStore
{
threads: CommentThread[];
}
threads: CommentThread[];