Overview
useReplies loads replies for a specific comment from the entityCommentsTree managed by the nearest CommentSectionProvider. It fetches a page of replies when the page state increases above 0.
Must be used inside a
CommentSectionProvider. Replies are merged into the shared entityCommentsTree.Usage Example
Props
The ID of the comment to load replies for.
Sort order for replies:
"top", "new", or "controversial".Return Values
Paginated replies (not newly submitted in this session).
Replies submitted in this session, sorted newest-first.
true while replies are being fetched.Current page number. Starts at
0 (no replies loaded). Increment to load replies.Increment to trigger loading the next page of replies.

