knowledgebase_law/node_modules/react-router-dom/README.md

7 lines
292 B
Markdown
Raw Normal View History

2025-04-11 23:47:09 +08:00
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:
```diff
-import { Routes } from "react-router-dom"
+import { Routes } from "react-router"
```