useFetchUserFollowersCount
Overview
TheuseFetchUserFollowersCount
hook is used to retrieve the number of followers for a specific user within the current project. This is useful for displaying follower counts in user profiles or social features.
Usage Example
Parameters & Returns
Parameters
The hook returns a function that accepts the following parameter:The ID of the user to fetch follower count for.
Returns
The function resolves with an object containing the follower count:The number of followers.