Skip to content

React Router is the most popular routing library in the React ecosystem. This repository is dedicated to collecting best practices, ecosystem plugins, and learning resources related to it.

Notifications You must be signed in to change notification settings

TencentEdgeOne/awesome-react-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 

Repository files navigation

Awesome React Router Awesome

A curated list of awesome resources, libraries, tutorials, and open-source projects for React Router.

React Router is the standard routing library for React. The latest version, v7, unifies React Router and Remix, bringing framework-level capabilities like SSR, streaming, and first-class type safety to any React application.

๐Ÿ“‹ Contents


Official Resources

  • React Router Website - The official documentation, featuring the latest API references and tutorials.
  • GitHub Repository - The source code, hosted by the Remix team.
  • Remix - Remix and React Router have merged in v7. Remix is now effectively React Router v7.
  • Release Notes - Stay up to date with the latest changes.

Getting Started

  • Official Tutorial - The best place to start. Builds a "Contacts" app using the modern Data Router APIs.

Ecosystem & Libraries

Tools and libraries that extend the functionality of React Router.

File-Based Routing

Tools that generate routes based on your file structure, similar to Next.js or Nuxt.

  • Vite Plugin Pages - File system based routing for Vite, compatible with React Router.

Hooks & Utilities

UI Components

Integration

  • react-router-bootstrap - Integration between React Router and React-Bootstrap UI components (LinkContainer).
  • framer-motion - While not a router library, it is the standard for animating route transitions (AnimatePresence) in React Router apps.

Deployment

Deployment Adapters

Deploy React Router v7 applications to various hosting platforms with SSR support.

  • Vercel - Deploy to Vercel with edge functions and serverless support.
  • EdgeOne Pages - Tencent's edge computing platform for deploying React Router apps globally with low latency.
  • Netlify - Adapter for Netlify with edge functions and serverless deployment.
  • Cloudflare Pages - Deploy to Cloudflare Pages with Workers integration for edge computing.

Advanced Topics

Code Splitting & Lazy Loading

Authentication & Route Guards

Testing

Learning Resources

Tutorials & Articles

Videos & Talks

Migration Guides

Examples & Starter Kits

Real World Examples

Open-source projects that demonstrate React Router in production-grade architectures.

  • Bulletproof React - A simple, scalable, and powerful architecture for building React applications. Shows how to organize routes cleanly.
  • Jira Clone - A high-quality clone of Jira using React and React Router.
  • TakeNote - A web-based note-taking app that uses React Router for navigation.

Community & Support

Contributing

Contributions are welcome! Please read the contribution guidelines first.

  1. Fork the repository.
  2. Create a branch for your edit.
  3. Add your resource to the appropriate section (alphabetical order is preferred).
  4. Submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

React Router is the most popular routing library in the React ecosystem. This repository is dedicated to collecting best practices, ecosystem plugins, and learning resources related to it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published