Framework
Version

ParsedHistoryState type

The ParsedHistoryState type represents a parsed state object. Additionally to HistoryState, it contains the index and the unique key of the route.

tsx
export type ParsedHistoryState = HistoryState & {
  key?: string
  __TSR_index: number
}
export type ParsedHistoryState = HistoryState & {
  key?: string
  __TSR_index: number
}
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.