Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Location

An entry in a history stack. A location contains information about the URL path, as well as possibly some arbitrary state and a key.

interface Location extends Path {
key: string;
state: any;
}

§Extends

§Properties

§
key: string
[src]

A unique string associated with this location. May be used to safely store and retrieve data in some other storage API, like localStorage.

Note: This value is always "default" on the initial location.

§
state: any
[src]

A value of arbitrary data associated with this location.