MCPcopy Create free account
hub / github.com/dailydotdev/apps / historyKey

Function historyKey

packages/shared/src/components/shell/shellNav.ts:277–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275};
276
277const historyKey = (): string =>
278 (globalThis.history?.state as { key?: string } | null)?.key ??
279 `${globalThis.location?.pathname}${globalThis.location?.search}`;
280
281const documentArrival = (): DocumentArrival => {
282 const [navigation] = (globalThis.performance?.getEntriesByType?.(

Callers 2

useShellRouteStackFunction · 0.85
onCompleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected