React Router Framework Mode
Independent PiSkill directory guide. The original skill remains hosted by React Router Agent Skills.
What is React Router Framework Mode?
Provides current patterns for full-stack React Router framework-mode applications, including routing, loaders, actions, forms, sessions, middleware, error handling, and rendering strategies.
What does React Router Framework Mode do?
React Router Framework Mode is a React Router Agent Skill for building full-stack applications with the framework's route modules, loaders, actions, forms, sessions, middleware, error boundaries and rendering strategies. It helps an agent use framework-mode patterns instead of treating React Router as only a client-side routing library.
Who is React Router Framework Mode best for?
- Developers building full-stack React Router applications
- Teams migrating from basic routing to framework mode
- Projects using loaders, actions and route modules
- AI coding agents that need current React Router patterns
Common use cases
- Create nested routes with data loaders
- Handle mutations through route actions and forms
- Implement sessions, errors and middleware
- Choose rendering and data-loading patterns for framework mode
How does React Router Framework Mode work?
The skill organizes application work around React Router route modules and their server/client responsibilities. It uses loaders for route data, actions for mutations, framework navigation and form primitives for transitions, and route-level error and session patterns where appropriate.
Key benefits
- Keeps data loading and mutations aligned with the router
- Supports server-aware full-stack patterns
- Reduces ad-hoc client fetching for route workflows
- Provides framework-specific guidance for sessions and errors
Things to know
- Framework mode introduces conventions beyond basic declarative routing
- Deployment behavior depends on the chosen runtime and adapter
- Application-specific authentication and data-access rules still need explicit design
Compatible tools
Frequently asked questions
What is React Router Framework Mode?
How is it different from using React Router only for navigation?
Related skills
React Router Data Mode
Guides React Router data-mode applications using createBrowserRouter and RouterProvider, including route objects, loaders, actions, forms, pending UI, and optimistic updates.
React Router Declarative Mode
Guides declarative React Router applications using BrowserRouter, JSX route configuration, Link and NavLink navigation, and URL parameter handling without data-mode APIs.
React Best Practices
Applies Vercel Engineering's React and Next.js performance guidance when writing, reviewing, or refactoring components, data fetching, bundles, rendering, and server-side code.
New Terraform Provider
Scaffolds a new Terraform provider using the Terraform Plugin Framework, including Go module setup, provider server entrypoint, schema, configuration, build, and tests.
Cloudflare Durable Objects
Designs stateful Cloudflare applications with Durable Objects, covering storage, consistency, alarms, WebSockets, migrations, concurrency, and production reliability patterns.
Cloudflare Sandbox Next
Builds isolated code-execution and development workflows with Cloudflare's next-generation Sandbox APIs, including lifecycle, files, commands, and integration boundaries.