Skip to main content
Version: v8.0.0

getPageRequest

Creates the request of a single page. Generated keys are left untouched, so a page shares its cache with any other request for the same data.


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

Parameters​

getPageRequest<R>(request: R, pagination: PaginationConfig, param: unknown)
Parameters
NameTypeDescription
request
R
pagination
PaginationConfig
param
unknown

Returns​

R