Overview
useFetchManyComments returns a function that fetches a paginated list of comments. This is the underlying fetch function used by useEntityComments and useReplies. Use it directly when you need a custom comment list outside of those hooks.
Usage Example
Parameters
Page number (1-indexed). Must be greater than 0.
Filter to comments on a specific entity.
Filter to comments by a specific user.
Filter to replies of a specific parent comment.
Sort order:
"createdAt" or "top". "new"/"old" are deprecated aliases for "createdAt" (removed in v8). A sortDir ("asc"/"desc") controls "createdAt" direction.Results per page. Must be greater than 0.
Filter to comments within a specific source.
Populate related data. Accepted values:
"user", "entity", "space", "parent".Returns
Comments for the current page. When
spaceReputation is requested, each embedded author carries an added spaceReputation number. See Reputation.Whether there are more pages to load.

