function / @typed/react/Router

useCurrentPath

Tracks the canonical pathname and query string used by Typed matchers.

Package version
1.0.0-beta.13
Category
function

Import

import { useCurrentPath } from "@typed/react/Router";

Signatures

export declare function useCurrentPath<ER = never>(options?: ReactiveOptions<string, never, Navigation | Scope.Scope, ER>): AsyncState<string, ER>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source