MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / lazyRouteFiles

Function lazyRouteFiles

src/resolution/frameworks/react.ts:495–499  ·  view source on GitHub ↗

The files `lazyRouteComponent` reads: the module, and the ones a barrel forwards it to.

(spec: string, fromFile: string, context: ResolutionContext)

Source from the content-addressed store, hash-verified

493
494/** The files `lazyRouteComponent` reads: the module, and the ones a barrel forwards it to. */
495function lazyRouteFiles(spec: string, fromFile: string, context: ResolutionContext): string[] {
496 const reads = new Set<string>();
497 lazyRouteComponent(spec, fromFile, context, reads);
498 return [...reads];
499}
500
501/**
502 * The component a lazy route's loader picks from the module `spec` loads: the

Callers 1

lazyModulesFunction · 0.85

Calls 1

lazyRouteComponentFunction · 0.85

Tested by

no test coverage detected