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:Returns
The function resolves to the follow row, aFollowRow: the new follow, or the existing one when you already follow the user — the same record either way, so a repeat is safe.
ID of the follow record. useUnfollowByFollowId takes it.
The followed user. See User data model.
Related
- useUnfollowUserByUserId — unfollow by user ID
- useFetchFollowStatus — check follow status before calling

