Tells a Follow button what the user follows, and follows or unfollows, by reading FollowContext.

Functions

f
useFollows(): FollowContextValue

Returns the users and playlists the signed-in user follows, and the functions that follow and unfollow them. Needs FollowProvider above, which App mounts around every page.

Usage

import * as mod from "src/hooks/social/useFollows.ts";