Module hooks

Source
Expand description

Hooks for interacting with the router in components.

Functionsยง

router
Acquire the router without subscribing to updates.
try_router
Try to acquire the router without subscribing to updates.
use_navigator
A hook that provides access to the navigator to change the router history.
use_route
A hook that provides access to information about the current routing location.
use_routerDeprecated
A hook that provides access to information about the router.