Arguments passed to shouldRevalidate function

interface ShouldRevalidateFunctionArgs {
    actionResult?: any;
    actionStatus?: number;
    currentParams: Params<string>;
    currentUrl: URL;
    defaultShouldRevalidate: boolean;
    formAction?: string;
    formData?: FormData;
    formEncType?: FormEncType;
    formMethod?:
        | "GET"
        | "POST"
        | "PUT"
        | "PATCH"
        | "DELETE";
    json?: JsonValue;
    nextParams: Params<string>;
    nextUrl: URL;
    text?: string;
}

Properties

actionResult?: any
actionStatus?: number
currentParams: Params<string>
currentUrl: URL
defaultShouldRevalidate: boolean
formAction?: string
formData?: FormData
formEncType?: FormEncType
formMethod?:
    | "GET"
    | "POST"
    | "PUT"
    | "PATCH"
    | "DELETE"
json?: JsonValue
nextParams: Params<string>
nextUrl: URL
text?: string