Skip to main content
Version: v8.0.0

getInitialPageParam

The value the list starts from: what the request already holds, otherwise the first page.


Import
import { getInitialPageParam } from "@hyper-fetch/core"

Parameters​

getInitialPageParam(request: RequestInstance, pagination: PaginationConfig)
Parameters
NameTypeDescription
request
RequestInstance
pagination
PaginationConfig

Returns​

unknown