Preparing search index...
The search index is not available
React Router API Reference
React Router API Reference
react-router
GetScrollRestorationKeyFunction
Interface GetScrollRestorationKeyFunction
Function signature for determining the key to be used in scroll restoration for a given location
Get
Scroll
Restoration
Key
Function
(
location
,
matches
)
:
null
|
string
Parameters
location
:
Location
<
any
>
matches
:
UIMatch
<
unknown
,
unknown
>
[]
Returns
null
|
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
React Router API Reference
Loading...
Function signature for determining the key to be used in scroll restoration for a given location