# react-router-framework-mode
> Build full-stack React applications using React Router's framework mode. Use when configuring routes, working with loaders and actions, handling forms, handling navigation, pending/optimistic UI, error boundaries, or working with react-router.config.ts or other react router conventions.
- Author: magnesium
- Repository: yyong008/react-router-antd-admin
- Version: 20260206203638
- Stars: 89
- Forks: 13
- Last Updated: 2026-02-06
- Source: https://github.com/yyong008/react-router-antd-admin
- Web: https://mule.run/skillshub/@@yyong008/react-router-antd-admin~react-router-framework-mode:20260206203638
---
---
name: react-router-framework-mode
description: Build full-stack React applications using React Router's framework mode. Use when configuring routes, working with loaders and actions, handling forms, handling navigation, pending/optimistic UI, error boundaries, or working with react-router.config.ts or other react router conventions.
license: MIT
---
# 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 ``, ``, `
// ❌ Wrong - don't manually handle search params