Renders the "hot" and "new" tabs of the index page, from the feed Index loads and passes down as MainFeedProps.

Functions

f
DumpFeed(unnamed 0: DumpFeedProps): React.JSX.Element

Renders the "hot" and "new" tabs as a DumpCardList, sorted on the client, followed by the infinite-scroll sentinel, or the loading, error or empty state. Index is its only user.

Interfaces

I
DumpFeedProps

Passed to DumpFeed by Index for the "hot" and "new" tabs. It adds the active tab, as order, to the state all tabs share.

I
MainFeedProps

Passed by Index to whichever of the "hot", "new" and "journal" tabs is showing. The tabs share this one state, so switching tabs doesn't refetch.

Type Aliases

T
DumpFeedState = FetchState<PagedList<Dump>>

Held by usePagedList for Index's feed and for each section of FollowedFeed.