Overview
useFetchCommentReactions returns a function that fetches individual reaction records for a comment. Use this to show “who reacted” lists, optionally filtered by a specific reaction type.
Authentication is optional — the endpoint works without a token. When the
caller is signed in, reactions from users with a block between them and the
caller, in either direction, are excluded from both the results and the
count. Block filtering requires the
moderation bundle.Usage Example
Parameters
string
required
The comment to fetch reactions for.
number
required
Page number (1-indexed).
number
Results per page. Default:
20.ReactionType
Filter to a specific reaction type.
"asc" | "desc"
Sort direction by creation date. Default:
"desc".Returns
Reaction[]
Array of reaction records. Each includes
id, userId, reactionType, targetId, targetType, createdAt. The user field is populated when user data is available; when spaceReputation is requested it carries an added spaceReputation number. See Reputation.PaginationMetadata
Pagination metadata for the result set.
page— current page numberpageSize— number of results returnedtotalItems— total number of reactions matching the querytotalPages— total number of pageshasMore— whether additional pages are available

