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

Source
npmnpm
Version
7.17.0
Version published
Weekly downloads
31M
5.16%
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 04 Jun 2026

Related posts