Skip to content

LocationSvc type

Home > @rimitive/router > LocationSvc

Location - reactive access to URL components

Signature:

export type LocationSvc = {
pathname: Readable<string>;
search: Readable<string>;
hash: Readable<string>;
query: Readable<Record<string, string>>;
};

References: Readable