Renders the "followed" tab of the index page, which shows the dumps of the users and the playlists the signed-in user follows.
f
FollowedFeed(unnamed 0: FollowedFeedProps): React.JSX.Element
Renders the "follow" tab in two views, "from people" at /follow and "from
playlists" at /follow/playlists, from GET /api/dumps?follow=users and
GET /api/dumps?follow=playlists. Both load at once, so switching is
instant, and each keeps its own pages, cached like the index's feed.
Switching takes the place of the current history entry, as a tab does.
I
FollowedFeedProps
Passed to FollowedFeed by Index, which renders the tab for a
signed-in user only. Unlike the other tabs, it loads its own dumps.
-
categorySlug: string
Scopes both views to a category.
-
view: FollowView
The view the path names:
/follow, or/follow/playlists.
Usage
import * as mod from "src/components/feed/FollowedFeed.tsx";