CanLoadFn
The signature of a function used as a canLoad
guard on a Route
.
Deprecated: Use Route.canMatch
and CanMatchFn
instead
type CanLoadFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>;
The signature of a function used as a canLoad
guard on a Route
.
Deprecated: Use Route.canMatch
and CanMatchFn
instead
type CanLoadFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>;