Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ getHistoryEntryKey
Function
getHistoryEntryKey
packages/shared/src/lib/scrollRestoration.ts:22–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
};
21
22
export
const
getHistoryEntryKey = (): string =>
23
getScrollKey(window.location.href,
'page'
);
24
25
export
const
getScrollPosition = (
26
asPath: string,
Callers
4
onLeave
Function · 0.90
useScrollRestoration
Function · 0.90
restoreScrollPosition
Function · 0.70
restore
Function · 0.70
Calls
1
getScrollKey
Function · 0.85
Tested by
no test coverage detected