RepoPilot

remix-run/react-router · Architecture

A static read of how remix-run/react-router is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

C
Architecture grade
score 67/100
8
Import cycles
lower is better
391
Modules parsed
571 edges
94%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • packages/react-router/lib/router/utils.ts41 importers · radius 52
  • packages/react-router/lib/router/router.ts27 importers · radius 46
  • packages/react-router/lib/router/history.ts22 importers · radius 54
  • packages/react-router/lib/dom/ssr/routeModules.ts17 importers · radius 46
  • packages/react-router/lib/dom/ssr/entry.ts13 importers · radius 46
  • packages/react-router/lib/dom/ssr/routes.tsx12 importers · radius 46
  • build.utils.ts11 importers · radius 11
  • packages/react-router/lib/dom/ssr/components.tsx10 importers · radius 46

Modules (24)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Circular dependencies (8)

  • packages/react-router/lib/router/router.ts to packages/react-router/lib/router/instrumentation.ts to packages/react-router/lib/server-runtime/server.ts to packages/react-router/lib/router/router.ts
  • packages/react-router/lib/router/router.ts to packages/react-router/lib/router/instrumentation.ts to packages/react-router/lib/server-runtime/server.ts to packages/react-router/lib/server-runtime/build.ts to packages/react-router/lib/dom/ssr/entry.ts to packages/react-router/lib/router/router.ts
  • packages/react-router/lib/router/router.ts to packages/react-router/lib/router/instrumentation.ts to packages/react-router/lib/server-runtime/server.ts to packages/react-router/lib/server-runtime/build.ts to packages/react-router/lib/dom/ssr/entry.ts to packages/react-router/lib/dom/ssr/routes.tsx to packages/react-router/lib/router/router.ts
  • packages/react-router/lib/dom/ssr/routes.tsx to packages/react-router/lib/dom/ssr/routeModules.ts to packages/react-router/lib/dom/ssr/routes.tsx
  • packages/react-router/lib/dom/ssr/routeModules.ts to packages/react-router/lib/types/route-data.ts to packages/react-router/lib/dom/ssr/routeModules.ts
  • packages/react-router/lib/router/router.ts to packages/react-router/lib/router/instrumentation.ts to packages/react-router/lib/server-runtime/server.ts to packages/react-router/lib/server-runtime/build.ts to packages/react-router/lib/dom/ssr/entry.ts to packages/react-router/lib/dom/ssr/routes.tsx to packages/react-router/lib/dom/ssr/routeModules.ts to packages/react-router/lib/types/route-data.ts to packages/react-router/lib/server-runtime/single-fetch.ts to packages/react-router/lib/router/router.ts

Ask AI about remix-run/react-router

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.