Overview
Returns a function that checks whether the current authenticated user follows a givenuserId. Returns a status object including the follow ID and timestamp if following.
Usage Example
Parameters
The hook returns a function. That function accepts:string
required
The ID of the user to check. Cannot be the current user’s own ID.
Returns
boolean
Whether the current user is following the target user.
string | undefined
The ID of the follow record. Present when
isFollowing is true.string | undefined
ISO timestamp of when the follow was created. Present when
isFollowing is true.Related
- useFollowManager — loads this status automatically on mount

