React Router API Reference
Preparing search index...
react-router
GetScrollRestorationKeyFunction
Interface GetScrollRestorationKeyFunction
Function signature for determining the key to be used in scroll restoration for a given location
GetScrollRestorationKeyFunction
(
location
:
Location
,
matches
:
UIMatch
<
unknown
,
unknown
>
[]
,
)
:
null
|
string
Parameters
location
:
Location
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