Skip to main content

Overview

useCommentSection reads from the nearest CommentSectionProvider and returns the full comment section state and actions. It does not fetch data itself — all data loading is managed by the provider.
useCommentSection must be used inside a CommentSectionProvider. See Comment Section for setup and the full return value reference.

Usage Example

See Comment Section for the complete return value reference.