ShouldRevalidateFunctionArgs
react-router

ShouldRevalidateFunctionArgs interface

Arguments passed to shouldRevalidate function

Properties

actionResult

Type: any

actionStatus

Type: number

currentParams

Type: Params<string>

currentUrl

Type: URL

defaultShouldRevalidate

Type: boolean

formAction

Type: string

formData

Type: FormData

formEncType

Type: FormEncType

formMethod

Type: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"

json

Type: JsonValue

nextParams

Type: Params<string>

nextUrl

Type: URL

text

Type: string

Docs and examples CC 4.0