Skip to content

Fixes #38560 - Upgrade react-router-dom from v5 to v6 - #10602

Closed
nofaralfasi wants to merge 2 commits into
theforeman:developfrom
nofaralfasi:react-router-dom-v6
Closed

Fixes #38560 - Upgrade react-router-dom from v5 to v6#10602
nofaralfasi wants to merge 2 commits into
theforeman:developfrom
nofaralfasi:react-router-dom-v6

Conversation

@nofaralfasi

@nofaralfasi nofaralfasi commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Requires #10342
Required for theforeman/foreman_rh_cloud#1019

This change is needed because https://github.com/RedHatInsights/landing-page-frontend rely on react-router-dom@6 features like useSearchParams, which are incompatible with the older v5 routing context, causing runtime errors.

@ShimShtein

Copy link
Copy Markdown
Member

This also happens on CVEList components

@ofedoren

Copy link
Copy Markdown
Member

@nofaralfasi, needs rebase

@nofaralfasi

Copy link
Copy Markdown
Contributor Author

@nofaralfasi, needs rebase

I'm not sure if we'll end up using this PR. The Insights team is working on downgrading react-router-dom to v5 on their side.

@nofaralfasi

Copy link
Copy Markdown
Contributor Author

Closing this PR, as it's no longer needed - the Insights team is working on downgrading react-router-dom to v5 on their side, so we can keep using v5 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants