useFollowStats
function useFollowStats(group, id): object;Follower/following counts for group:id (denormalized server-side).
Inert (zero counts, no network, enabled: false) inside a disabled provider.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
group |
string |
id |
string |
Returns
Section titled “Returns”object
enabled
Section titled “enabled”enabled: boolean;error: Error | null;followerCount
Section titled “followerCount”followerCount: number;followingCount
Section titled “followingCount”followingCount: number;isLoading
Section titled “isLoading”isLoading: boolean;refresh
Section titled “refresh”refresh: () => Promise<void>;Returns
Section titled “Returns”Promise<void>