Class RouterContext
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
public static class RouterContext
- Inheritance
-
objectRouterContext
Fields
- ActionData
The result of the action the current location was committed by, keyed by RouteId.
- Depth
Tracks Outlet depth for match selection and route-relative navigation.
- LoaderData
Loader data corresponding to the current location. Keyed by RouteId.
- OutletContext
Context value supplied by an
Outletto its rendered child route, consumed byUseOutletContext.
- Router
The router
V.RouterProviderpublishes. The hooks that act on a router act on this one, and the hooks React Router refuses outside a router throw where it is null.