Overview
Returns a function that follows a target user. The current user must be authenticated. UseuseFollowManager if you need status tracking and toggle behavior; use this hook directly when you need fine-grained control.
Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the user to follow.
Returns
The function returnsPromise<void>.
Related
- useUnfollowUserByUserId — unfollow by user ID
- useFetchFollowStatus — check follow status before calling

