react-router-framework-mode

Installation
Summary

Full-stack React development with file-based routing, server/client rendering, data loading, and type-safe route modules.

  • Supports file-based routing with nested routes, dynamic segments, and multiple rendering strategies (SSR, SPA, pre-rendering)
  • Handles data loading via loader/clientLoader and mutations via action/clientAction with built-in form handling and optimistic UI
  • Includes 10+ reference guides covering routing, data loading, actions, navigation, error boundaries, authentication, and type safety
  • Requires React Router 7.0.0+; middleware features need 7.9.0+ with v8_middleware flag
SKILL.md

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 loader or clientLoader
  • Handling mutations with action or clientAction
  • Navigating with <Link>, <NavLink>, <Form>, redirect, and useNavigate
  • 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:

Related skills
Installs
2.1K
GitHub Stars
129
First Seen
Jan 29, 2026