function Index
Index(unnamed 0: IndexProps): React.JSX.Element

Renders /, /:feedTab, /:categorySlug and /:categorySlug/:feedTab, for anyone, the "follow" tab, and its /follow/playlists, for a signed-in user only. The feed comes from GET /api/dumps, or GET /api/dumps?category=, a page at a time, and the "hot", "new" and "journal" tabs share it. WSContext adds the dumps posted since, or brought into the feed by an edit, by date, the live vote counts, and who's online. The router keys the page by category, so switching tabs keeps the feed and switching categories refetches it. It also opens the dump creation modal on a link shared from Android (?share_url=).

Parameters

unnamed 0: IndexProps

Return Type

React.JSX.Element

Usage

import { Index } from "src/pages/Index.tsx";