Module router

Source

Structs§

BaseRouter
The base router component.
ComponentInfo
LocationContext
Represents the context of the current location.
NextRouter
The NextRouter component.
Router
A struct representing the router for navigation.
RouterContext
Represents the context of the current router.
RouterProps
Props for NextRouter.
Switch
A Switch that dispatches routes among variants of a [Routable].
SwitchProps
Props for Switch

Enums§

RouterKind
The kind of Router Provider.

Functions§

use_location
A hook to access the current Location information.
use_route
A hook to access the current route path with the basename stripped.
use_router
A hook to access the Router instance.

Type Aliases§

NavigationError
Represents errors related to navigation.
NavigationResult
Represents results of navigation operations.