Class RouteInfoWithAttributes


A RouteInfoWithAttributes is an object that contains metadata, including the resolved value from the routes model hook. Like RouteInfo, a RouteInfoWithAttributes represents 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 RouteInfoWithAttributes 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.