* The component a lazy route's loader picks from the module `spec` loads: the * export named `name`, through barrels. `reads` collects the files it reads.
(spec: string, name: string, fromFile: string, context: ResolutionContext, reads?: Set<string>)
| 502 | * export named `name`, through barrels. `reads` collects the files it reads. |
| 503 | */ |
| 504 | function pickedExport(spec: string, name: string, fromFile: string, context: ResolutionContext, reads?: Set<string>): string | null { |
| 505 | const file = lazyModuleFile(spec, fromFile, context); |
| 506 | return file ? exportedComponent(file, name, context, new Set(), reads) : null; |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * True for a reference a React route makes: from a `route:<file>:…` node, in |
no test coverage detected