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:
alexsparkes
2026-02-07 11:48:09 +00:00
parent 9e336b0582
commit cf3237f337
18 changed files with 390 additions and 205 deletions

View File

@@ -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"
},