
React Router Framework Mode
This one covers React Router's framework mode, the full-stack setup with file-based routing, loaders, actions, and server rendering. You'll want it when building React apps that need data loading, form mutations, or SSR configuration. The skill includes references for routing, data patterns, pending UI, and type safety, plus critical patterns like using Form method="get" for search (not manual setSearchParams) and useFetcher for inline mutations. It's opinionated about layouts too, putting global nav in root.tsx instead of separate files. Good for teams moving from traditional React to a more integrated routing and data story, though you'll need React Router 7.0+ and some features require 7.9+.
- skills.sh installs
- 3.7K
- GitHub stars
- 134
- last updated
- Jul 14, 2026
Install
$ npx -y skills add remix-run/agent-skills --skill react-router-framework-mode --agent claude-codeInstalls into .claude/skills of the current project.
Files
React Router Framework Mode
Framework mode is React Router's full-stack development experience with file-based routing, server-side, client-side, and static rendering strategies, data loading and mutations, and type-safe route module API.
When to Apply
- Configuring new routes (
app/routes.ts) - Loading data with
loaderorclientLoader - Handling mutations with
actionorclientAction - Navigating with
<Link>,<NavLink>,<Form>,redirect, anduseNavigate - Implementing pending/loading UI states
- Configuring SSR, SPA mode, or pre-rendering (
react-router.config.ts) - Implementing authentication
References
Load the relevant reference for detailed guidance on the specific API/concept:
Sponsors
Details
- Repository
- github.com/remix-run/agent-skills
- Categories
- Frontend Development, AI & Agent Building