Class RouteInfo


A RouteInfo is an object that contains metadata about a specific route within a Transition. It is read-only and internally immutable. It is also not observable, because a Transition instance is never changed after creation.

A RouteInfo is not user-constructible; the only legal way to get one is from a valid Transition. However, you can import the type by using import type syntax with TypeScript or import() in JSDoc comments.