useFetchUserFollowingCount
Overview
TheuseFetchUserFollowingCount
hook is used to retrieve the number of users a specific user is following within the current project. This is useful for displaying the number of connections or subscriptions a user has made.
Usage Example
Parameters & Returns
Parameters
The hook returns a function that accepts the following parameter:The ID of the user to fetch following count for.
Returns
The function resolves with an object containing the following count:The number of users the specified user is following.