Skip to main content
Version: 2.x.x

initialState


import { initialState } from "@hyper-fetch/react"

Description

Defined in helpers/use-tracked-state/use-tracked-state.constants.ts:3

Preview

const initialState = UseTrackedStateType

Structure

{
data: null | T extends Command<infer D, any, any, any, any, any, any, any, any, any, any> ? D : never;
error: null | T extends Command<any, any, any, infer G, infer L, any, any, any, any, any, any> ? \G\ | \L\ : never;
loading: boolean;
retries: number;
status: null | number;
timestamp: null | Date;
}