Function signature for determining the key to be used in scroll restoration for a given location

interface GetScrollRestorationKeyFunction ((location, matches) => string)
  • Parameters

    Returns string