react-router-best-practices

Community

React Router best practices for fast apps

Authorvfshera
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill codifies best practices to optimize React Router usage in large applications.

Core Features & Use Cases

  • Patterned routing organization, loaders, actions, forms, and data-fetching patterns across route hierarchies.
  • Guidelines for error boundaries, route boundaries, and data flow between routes and components.
  • Real-world scenarios and examples that prevent waterfalls, reduce re-renders, and improve caching and streaming patterns.

Quick Start

  • Audit your routes for loader-only data fetch and colocated components.
  • Apply recommended patterns for loaders, actions, and route organization to improve performance.
  • Refactor existing routes and tests to align with these best practices.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-router-best-practices
Download link: https://github.com/vfshera/agent-skills/archive/main.zip#react-router-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.