Overview
useCreateComment returns a function that creates a new comment. Use it directly for low-level comment creation. Inside a CommentSectionProvider, prefer createComment from useCommentSection — it adds optimistic UI and manages the comment tree automatically.
Requires an authenticated user.
Usage Example
Parameters
Returns
The newly created comment. See Comment data model.

