• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 19247064332

10 Nov 2025 09:43PM UTC coverage: 64.776% (-0.02%) from 64.798%
19247064332

push

github

web-flow
web: migrate to React Router v7 (#2861)

## Problem

React Router v7 was released almost a year now (see
https://reactrouter.com/changelog#v700), but it has not been updated in
Agama yet. In addition to the obvious benefit of keeping dependencies
up-to-date, updating it might help to address some limitations we have
found with the v6 version, like
https://github.com/agama-project/agama/pull/2767/commits/06d858cba

## Solution

Migrate React Router dependency to its latest version.

## Testing

- Adapted existing tests.

## Notes

This migration has been straightforward, and as of now, Agama is using
Data Mode (see https://reactrouter.com/start/modes). However, this could
change in the future if we find advantages in switching to Declarative
or Framework Mode. Before making any decisions, we’ll need to work on
`src/App.tsx` along with the changes planned for the api-v2 branch that
this PR is based on.

## Documentation


 * https://reactrouter.com/upgrading/v6
*
https://github.com/remix-run/react-router/issues/12363#issuecomment-2496226528
* https://github.com/remix-run/react-router/pull/13530 (`generatePath`
now encodes URL params by default, related to
https://github.com/agama-project/agama/pull/2576)
 * https://www.typescriptlang.org/tsconfig/#moduleResolution

2695 of 4694 branches covered (57.41%)

Branch coverage included in aggregate %.

55 of 63 new or added lines in 52 files covered. (87.3%)

53 existing lines in 7 files now uncovered.

25680 of 39111 relevant lines covered (65.66%)

150.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.65
/web/web/src/utils.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc