react-router-dom
Advanced tools
Comparing version
/** | ||
* react-router-dom v0.0.0-nightly-2d5924f56-20241024 | ||
* react-router-dom v0.0.0-nightly-2e661fbb4-20250327 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "react-router-dom", | ||
"version": "0.0.0-nightly-2d5924f56-20241024", | ||
"version": "0.0.0-nightly-2e661fbb4-20250327", | ||
"description": "Declarative routing for React web applications", | ||
@@ -57,3 +57,3 @@ "keywords": [ | ||
"dependencies": { | ||
"react-router": "0.0.0-nightly-2d5924f56-20241024" | ||
"react-router": "0.0.0-nightly-2e661fbb4-20250327" | ||
}, | ||
@@ -80,4 +80,5 @@ "devDependencies": { | ||
"scripts": { | ||
"build": "wireit" | ||
"build": "wireit", | ||
"typecheck": "tsc" | ||
} | ||
} |
@@ -1,3 +0,6 @@ | ||
# React Router DOM | ||
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: | ||
The `react-router-dom` package is deprecated and only kept around for backwards-compatibility. It re-exports everything from the `react-router` package - you should convert your applications to import everything from `react-router` in v7 and beyond. | ||
```diff | ||
-import { Routes } from "react-router-dom" | ||
+import { Routes } from "react-router" | ||
``` |
Sorry, the diff of this file is not supported yet
5568
0.83%7
75%+ Added
- Removed
- Removed
- Removed