Tells the Follow buttons what the signed-in user follows. FollowProvider provides this context and useFollows reads it.

Interfaces

I
FollowContextValue

Provided by FollowProvider through FollowContext. The four functions change the sets at once and undo the change when the request fails. They resolve to whether it worked, and never reject.

Variables

v
defaultFollowValue: FollowContextValue

Given to a consumer outside FollowProvider, for which nothing is followed.

v
FollowContext: React.Context<FollowContextValue>

Tells the Follow buttons what the signed-in user follows. Read it with useFollows.