(s: RouteScope)
| 1362 | // the top of a component's own `<Routes>` it is wherever another route |
| 1363 | // mounts the component (`<Route path="shop/*" element={<Shop/>}>`). |
| 1364 | const inRouter = (s: RouteScope): boolean => routers.some((r) => r.start < s.start && r.end >= s.end); |
| 1365 | const addressed = (s: RouteScope): boolean => { |
| 1366 | if (!s.index) return true; |
| 1367 | const outer = around(s.start, s.end); |