# Interface ShouldRevalidateFunctionArgs

Arguments passed to shouldRevalidate function

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

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:159

#####
Index

### Properties

actionResult?
currentParams
currentUrl
defaultShouldRevalidate
formAction?
formData?
formEncType?
formMethod?
json?
nextParams
nextUrl
text?
unstable_actionStatus?

## Properties

### `Optional` actionResult

actionResult?: any

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:171

### currentParams

currentParams: Params<string>

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:161

### currentUrl

currentUrl: URL

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:160

### defaultShouldRevalidate

defaultShouldRevalidate: boolean

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:172

### `Optional` formAction

formAction?: string

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:165

### `Optional` formData

formData?: FormData

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:168

### `Optional` formEncType

formEncType?: FormEncType

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:166

### `Optional` formMethod

formMethod?: LowerCaseFormMethod | "GET" | "POST" | "PUT" | "PATCH" | "DELETE"

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:164

### `Optional` json

json?: JsonValue

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:169

### nextParams

nextParams: Params<string>

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:163

### nextUrl

nextUrl: URL

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:162

### `Optional` text

text?: string

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:167

### `Optional` unstable_actionStatus

unstable_actionStatus?: number

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:170