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

Function historyKey

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

Source from the content-addressed store, hash-verified

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

Callers 2

useShellRouteStackFunction · 0.85
onCompleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected