NPM Star
Collections
  1. Home
  2. Compare
  3. react-router vs react-router-dom
NPM Compare

Compare NPM packages statistics, trends, and features

CollectionsVS Code extensionChrome extensionTermsPrivacyLinkTreeIndiehackersBig Frontendqiuyumi

Unable to load comparison data. Please try again later.

No README available

This package simply re-exports everything from react-router to smooth the upgrade path for v6 applications. Once upgraded you can change all of your imports and remove it from your dependencies:

-import { Routes } from "react-router-dom" +import { Routes } from "react-router"

Dependencies Comparison

react-router

Dependencies

cookie-es^3.1.1
@remix-run/route-pattern^0.22.1

Dev Dependencies

react^19.2.7
tsdown^0.22.0
undici^6.19.2
wireit0.14.12
premove^4.0.0
react-dom^19.2.7
typescript^6.0.3
@types/node^22.19.19
react-test-renderer^19.2.7
@testing-library/react^16.3.2
jest-environment-jsdom^30.4.1
@testing-library/jest-dom^6.9.1
@testing-library/user-event^14.6.1

Peer Dependencies

react>=19.2.7
react-dom>=19.2.7

react-router-dom

Dependencies

react-router7.18.4

Dev Dependencies

tsup^8.3.0
react^19.2.3
wireit0.14.9
react-dom^19.2.3
typescript^5.4.5

Peer Dependencies

react>=18
react-dom>=18
StarsIssuesVersionUpdatedⓘLast publish dateCreatedⓘPackage creation dateSizeⓘMinified + Gzipped size
R
react-router
56,6122318.4.0a month ago12 years agoinstall size 59.0 KB
R
react-router-dom
56,6122317.18.4a month ago10 years agoinstall size 60.8 KB

Who's Using These Packages

react-router

Krawl
Krawl

Krawl is a customizable, lightweight, cloud-native web deception server and anti-crawler that creates fake web applications with low-hanging vulnerabilities using realistic, randomly generated decoy data and AI-generated HTML templates.

phoenix_sync
phoenix_sync

Real-time sync for Postgres-backed Phoenix applications.

react-antd-admin-pnpm
react-antd-admin-pnpm

基于react18, antd5开发的gbeata-admin 后台管理系统,gbeata组件库

geoplumber
geoplumber

Serve geographic data from R and consume with scalable front end.

vertex
vertex

Node/React/Redux blog. Dockerized, Isomorphic, has Auth. Will be decentralized.

react-router-dom

Krawl
Krawl

Krawl is a customizable, lightweight, cloud-native web deception server and anti-crawler that creates fake web applications with low-hanging vulnerabilities using realistic, randomly generated decoy data and AI-generated HTML templates.

react-antd-admin-pnpm
react-antd-admin-pnpm

基于react18, antd5开发的gbeata-admin 后台管理系统,gbeata组件库

xoom-designer
xoom-designer

The VLINGO XOOM Designer to guide you in rapid delivery of low-code to full-code Reactive, Event-Driven Microservices and Applications using DOMA, DDD, and other approaches.

geoplumber
geoplumber

Serve geographic data from R and consume with scalable front end.

arranger
arranger

Data portal API and component generation