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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
store | CommentStore |
Returns
Section titled “Returns”{ threads: CommentThread[];}threads
Section titled “threads”threads: CommentThread[];