CodeVetter · Repo Unpack · Feature catalog
remix-run/react-router
The user-facing surface primarily consists of developer APIs and CLI commands. Inspected capabilities include browser routing, data loading, mutation submission, independent fetchers, URL state, server rendering, and session persistence. Framework tooling adds route configuration, type generation, and server/client separation. Playground entrypoints demonstrate ordinary framework, RSC, and Cloudflare integration shapes.
- Data mode applications declare routes with loaders and Components, mount RouterProvider, and consume results with useLoaderData.
- useSubmit supports navigation submissions and non-navigation fetcher submissions with configurable method, encoding, body, and revalidation behavior.
- useSearchParams returns URLSearchParams and a setter that performs navigation while accepting functional updates.
- History navigation blockers can restore a blocked POP, proceed later, or reset to idle.
- The CLI dispatches routes, build, reveal, dev, and typegen commands; help exposes JSON route output and watched type generation.
- Framework route modules support clientLoader, clientAction, clientMiddleware, metadata, links, ErrorBoundary, HydrateFallback, and Layout exports.
- The server runtime supports SPA fallback behavior and rejects non-prerendered .data paths when SSR is disabled.
- flatRoutes offers optional filesystem routing with ignoredRouteFiles and a configurable route directory.
- Cookie session storage persists the entire session in a cookie and rejects serialized values over 4096 characters.
- Cloudflare Pages handling tries ASSETS.fetch first, accepts successful or redirect asset responses, then falls back to application routing.