Skip to content

RouteHook ‚Äč

ts
type RouteHook: BeforeRouteHook | AfterRouteHook;

Generic type representing a route hook, which can be either before or after a route change.