mirror of
https://github.com/mue/mue.git
synced 2026-07-14 20:43:54 +02:00
feat: Migrate to React Router v7 and refactor navigation
- Added react-router for improved routing and navigation. - Replaced hash-based navigation with React Router's navigate function. - Introduced RouterBridge to manage deep linking and legacy navigation. - Updated components to utilize useNavigate and useLocation hooks. - Refactored modal handling to integrate with React Router. - Removed updateHash utility to prevent conflicts with React Router's history management. - Created routes configuration for application structure and lazy loading. - Ensured backward compatibility with existing deep link data structure.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
"react-dom": "^19.2.3",
|
||||
"react-icons": "^5.5.0",
|
||||
"react-modal": "3.16.3",
|
||||
"react-router": "^7.13.0",
|
||||
"react-toastify": "11.0.5",
|
||||
"use-debounce": "^10.1.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user