MCPcopy
hub / github.com/Worklenz/worklenz / PreloadableRoute

Interface PreloadableRoute

worklenz-frontend/src/utils/routePreloader.ts:7–11  ·  view source on GitHub ↗

* Route preloader utility to prefetch components and improve navigation performance

Source from the content-addressed store, hash-verified

5 */
6
7interface PreloadableRoute {
8 path: string;
9 loader: () => Promise<any>;
10 priority: 'high' | 'medium' | 'low';
11}
12
13class RoutePreloader {
14 private preloadedRoutes = new Set<string>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected