function useUpvotedList
useUpvotedList(unnamed 0: UseUpvotedListOptions): UseUpvotedListResult

Follows the votes of profileUserId into their upvoted list. A dump they upvote is fetched and put first. One whose vote they withdraw fades out (useFading), then leaves the list, unless they vote again meanwhile. The socket's vote events report every browser's votes; on one's own list, myVotes also reports this tab's at once.

Parameters

Return Type

Usage

import { useUpvotedList } from "src/hooks/dump/useUpvotedList.ts";