interface / @typed/navigation

NavigationInfoOptions

Adds transient handler metadata to back, forward, and keyed traversal operations.

Package version
1.0.0-beta.13
Category
Command options
Since
1.0.0

Import

import { NavigationInfoOptions } from "@typed/navigation";

Signatures

export interface NavigationInfoOptions {
    readonly info?: unknown;
}

Why

Traversal preserves destination state and identity, so only non-persistent coordination data is configurable.

Ownership and lifetime

This immutable options object acquires no resources and is retained only for the traversal.

Property: info

Transient metadata delivered to navigation handlers.

Property: info: Why

Coordination data can accompany a transition without being serialized as entry state.

Property: info: Ownership and lifetime

The transition retains this metadata only until post-commit handlers finish; it is not stored on the Destination history entry.

Other public imports

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

Source