Skip to main content

hooks/useSCFollowersManager

Functions

useSCFollowersManager()

useSCFollowersManager(user?): object | object

info

This custom hook is used to manage followers users.

How to use it:

Follow these steps:

1. const scUserContext: SCUserContextType = useSCUser();
2. const scFollowersManager: SCFollowersManagerType = scUserContext.manager.followers;
3. scFollowersManager.isFollowers(user)

Parameters

ParameterType
user?SCUserType

Returns

object | object

Source

packages/react-core/src/hooks/useSCFollowersManager.ts:25