Preparing search index...
The search index is not available
React Router API Reference
React Router API Reference
react-router
ShouldRevalidateFunctionArgs
Interface ShouldRevalidateFunctionArgs
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
;
}
Index
Properties
action
Result?
action
Status?
current
Params
current
Url
default
Should
Revalidate
form
Action?
form
Data?
form
Enc
Type?
form
Method?
json?
next
Params
next
Url
text?
Properties
Optional
action
Result
action
Result
?:
any
Optional
action
Status
action
Status
?:
number
current
Params
current
Params
:
Params
<
string
>
current
Url
current
Url
:
URL
default
Should
Revalidate
default
Should
Revalidate
:
boolean
Optional
form
Action
form
Action
?:
string
Optional
form
Data
form
Data
?:
FormData
Optional
form
Enc
Type
form
Enc
Type
?:
FormEncType
Optional
form
Method
form
Method
?:
|
"GET"
|
"POST"
|
"PUT"
|
"PATCH"
|
"DELETE"
Optional
json
json
?:
JsonValue
next
Params
next
Params
:
Params
<
string
>
next
Url
next
Url
:
URL
Optional
text
text
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
Result
action
Status
current
Params
current
Url
default
Should
Revalidate
form
Action
form
Data
form
Enc
Type
form
Method
json
next
Params
next
Url
text
React Router API Reference
Loading...
Arguments passed to shouldRevalidate function