linkerd / linkerd/linkerd2

Upgrade `react-router-dom` dependency in the dashboard

Open
#7,252 18 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted javascript
Dominant language
Go
Stars
11.5k
Forks
1.4k
Avg merge
3d 22h
Merged PRs (30d)
53

Description

We're on `5.3.0` and would like to upgrade to `v6`, but that's a breaking change that requires manual intervention in our routes handling.

The React-router project has promised a compatibility layer to come up at some point that would avoid having to change things too much, but I feel that's a second-best solution and would prefer to have things written as per the best practice.

For anyone wanting to tackling this, we're glad to provide guidance on the overall setup of the dashboard web app in linkerd (also note that BUILD.md provides lots of details).

Contributor guide

Open the contributing guide

Research direction

Start with BUILD.md for the dashboard web app setup and inspect the dashboard's current routes handling around the react-router-dom 5.3.0 dependency. Identify the manual changes required for the v6 migration, then verify that the dashboard routes work with the upgraded dependency and follow React Router v6 practices.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.