react-router-knowledge-patch
Installation
SKILL.md
React Router Knowledge Patch
Use this skill before changing React Router applications, route modules, adapters, framework configuration, data APIs, middleware, generated types, or migrations. Determine the installed major and mode first: Framework, Data, Declarative, or RSC. Several names and defaults differ by major, and provisional names were stabilized in multiple steps.
Reference index
| Reference | Topics |
|---|---|
| Data loading and rendering | Single Fetch, loaders/actions, hydration, revalidation, fetchers, navigation, prerendering |
| Framework routing and configuration | Route config, discovery, splitting, SPA/SSR, server bundles, paths, masks |
| Middleware and context | Context providers, server/client middleware, next(), errors, request scope |
| Migration, packages, and tooling | Package imports, runtime floors, Vite, adapters, removed APIs, scaffolding, major upgrades |
| React Server Components | Data Mode and Framework Mode RSC APIs, exports, rendering, entrypoints |
| Security, observability, and CSP | Action origins, patched vulnerabilities, nonces, SRI, error reporting, instrumentation |
| Type safety and APIs | Typegen, href, route props, serialization, meta/matches, public API details |