function landingRequest
landingRequest(pathname: string): string | null

Returns the URL the page at pathname loads first, as that page builds it, or null for a page that isn't started early: the feed of every dump, on any of its tabs, asks for its first page, and a dump's page for the dump. The other pages wait for their code, as before.

Parameters

pathname: string

Return Type

string | null

Usage

import { landingRequest } from "src/utils/shared/earlyFetch.ts";