New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

react-router-dom

Package Overview
Dependencies
Maintainers
2
Versions
1062
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom

Declarative routing for React web applications

latest
Source
npmnpm
Version
7.18.3
Version published
Weekly downloads
31M
35.78%
Maintainers
2
Weekly downloads
 
Created
Source

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"

Keywords

react

FAQs

Package last updated on 28 Aug 2026

Related posts