chore(webui): upgrade React to v19 and React Router to v7/v8#1930
chore(webui): upgrade React to v19 and React Router to v7/v8#1930vinokurig wants to merge 1 commit into
Conversation
198f8ac to
f2bc1cb
Compare
|
@gnugomez can you take a look here and assess whether the upgrade to the react/router 7+ is doable. |
|
@netomi even if we where in the vulnerable version our app uses
Although it's valuable to keep react-router up to date, but since we're taking the time to do so, why not it's latest major? right now the latest version is https://reactrouter.com/7.18.1/upgrading/v6 |
f2bc1cb to
954119b
Compare
done, updated to the latest version |
|
we cant update to v8 as the minimum required react version is stated as: react@19.2.7+/react-dom@19.2.7+ while we are at 18.3.1 still. |
ace930a to
505a98b
Compare
|
right, reverted to the latest v7 version |
|
yeah that's right... for updating to v7 I need to check but I believe we need to update some imports |
|
it would make sense though to start updating to a more recent react version, active support for react 18 stopped a long time ago: https://endoflife.date/react they still provide security updates though. |
Upgrade core dependencies to address CVE-2026-42342. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
sorry if you misunderstood my comment. I was not asking you to upgrade to react 19 which we cant do just like that. That will have to be properly tested and planned, and after some more discussions we are probably not be doing that soon. |
|
@netomi Sorry, I am a little bit confused, would it be ok if I just update |
|
I dont get it that we need to update react/router as our version is not affected by the referenced CVE. Updating to v7 will require testing as there are breaking changes that affect us afaict from the release notes |
|
fine by me, we are working on a redesign of the app and that would be a good place to also update the router to v7 |

Upgrade react-router and react-router-dom from 6.30.4 to 7.18.1 to address CVE-2026-42342.