Actions
Bug #23213
closedUpdate react-router to v5
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
This ticket is to inch us closer to being up to date on react-router. Ideally we'd be >=7.5.2 but this at least gets us off of 1 abandoned dependency.
Update react-router, replace react-router-redux with connected-react-router to support react-router v5, and update react-redux to v6 to support connected-react-router, and update redux-form to support react-redux v6
Updated by Stephen Smith 5 months ago
Changes at arvados|1f1755649bafe3e07850de929abc77098810367f branch 23213-react-router-upgrade
Tests developer-run-tests-services-workbench2: #1654
- Bumped
react-routerto the latest v5- Due to
react-router-reduxbeing deprecated and not supportingreact-routerv5, it's replaced withconnected-react-routerconnected-react-routerrequires bumpingreact-reduxto v6react-reduxv6 requires bumpingredux-formto v8- Due to
redux-formbeing updated, I had to add memoization to dynamically generated anonymous validator functions, otherwise it seemsredux-formwill notice that the nextProps.validate is not equal (due to it having a different instance of the identical anonymous validator function), causing a re-render infinite loop.
- Due to
- Due to
Updated by Brett Smith 5 months ago
- Target version changed from Future to Development 2025-10-29
- Category set to Workbench2
Updated by Stephen Smith 5 months ago
- Status changed from In Progress to Resolved
Actions