soundcloud-api-ts-next
    Preparing search index...

    Function useMeFollowings

    • Fetch users that the current authenticated user follows.

      Returns HookResult<SoundCloudUser[]>

      Hook result with data as an array of followed SoundCloudUser.

      import { useMeFollowings } from "soundcloud-api-ts-next";

      function MyFollowings() {
      const { data: followings, loading } = useMeFollowings();
      if (loading) return <p>Loading...</p>;
      return <p>Following {followings?.length} users</p>;
      }