react-router

Declarative routing for React

23 articles 56.3k View on GitHub ↗
23 articles
React Router v5 vs v7 Data Loading: From Component Fetching to Route Loaders

Compare React Router v5 component fetching with v7 route loaders. Discover v7s automatic concurrency, fetcher persistence, and type safety for efficient data loading.

deep-dive
Mar 6, 2026
How React Router Integrates with Framework Tooling: The Complete Guide to @react-router/dev

Discover how @react-router/dev integrates React Router with Vite for zero-config SSR, auto code-splitting, HMR, and build manifests. Enhance your React development workflow.

deep-dive
Mar 6, 2026
What Events Does the React Router Internal Event Manager Listen For? A Complete Technical Guide

Discover the six events React Router's internal event manager monitors from browser APIs and internal AbortControllers to manage navigation and hydration effectively. Learn more.

deep-dive
Mar 6, 2026
How Nested Routes Are Handled in React Router's Data Loading: A Deep Dive into the Source Code

Explore how React Router handles nested routes and data loading by treating the route hierarchy as a tree and executing loaders in parent-first order. Learn more about merged data maps.

deep-dive
Mar 6, 2026
React Server Components (RSC) Strategies in React Router: Framework vs Data Mode Explained

Explore React Router RSC strategies: Framework Mode for Vite and Data Mode for custom bundlers. Understand the entry files and core APIs for efficient server rendering.

deep-dive
Mar 6, 2026
How React Router's Internal Store Manages Route Data: A Deep Dive into RouterState

Explore how React Router's internal store uses an immutable RouterState object to manage route data, updated on navigation and accessed via hooks like useLoaderData.

deep-dive
Mar 6, 2026
How to Manually Trigger Route Revalidation in React Router

Manually trigger route revalidation in React Router with useRevalidator or router.revalidate(). Force loaders to re-run without navigating and keep your app data fresh.

how-to-guide
Mar 6, 2026
How React Router Uses React Context for State Management: Complete Architecture Guide

Discover how React Router uses React Context for state management. Explore its architecture with DataRouterContext NavigationContext and RouteContext to avoid prop drilling and broadcast router state effectively.

architecture
Mar 6, 2026
createBrowserRouter vs createMemoryRouter: Key Differences in React Router

Explore the key differences between createBrowserRouter and createMemoryRouter in React Router. Understand when to use each for DOM or testing environments.

deep-dive
Mar 6, 2026
How React Router Handles Errors During Data Loading: A Deep Dive into Boundary-Based Error Capture

Discover how React Router captures and handles data loading errors. Learn about error boundaries and the error response process for seamless application error management.

deep-dive
Mar 6, 2026
What Are Route IDs in React Router's Data Loading System?

Learn how route IDs uniquely identify and manage data side effects like loader results and action responses in React Router's data loading system. Understand their central role in state management.

internals
Mar 6, 2026
How the `useFetcher` Hook Enables Background Data Operations in React Router

Discover how the useFetcher hook in React Router allows background data operations without navigation. Load, submit, and reset data seamlessly while staying on your current route.

internals
Mar 6, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →