New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

react-router-dom

Package Overview
Dependencies
Maintainers
2
Versions
1064
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.15.1
Version published
Weekly downloads
46M
22.09%
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 14 May 2026

Related posts