Project

General

Custom queries

Profile

Actions

Bug #22380

open

Replace react-router-redux

Added by Lisa Knox 3 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
-
Story points:
-

Description

The The primary goal of this issue is to remove errors that appear in the browser console when using workbench. The following error:

Warning: Failed prop type: Invalid prop `component` of type `object` supplied to `Route`, expected `function`

...occurs because the routing package we use, react-router-redux, is obsolete and does not conform to modern React standards. This library was last updated 7 years ago to 4.0.8, and we are somehow using version 5.0.0-alpha.9.
https://github.com/reactjs/react-router-redux#readme

The recommended replacement is connected-react-router, but more research should be done to see if it fits our needs. There are a plethora of packages that do what react-router-redux does, some backed by very large and stable orgs that might provide better utility for us going forward.
https://github.com/supasate/connected-react-router


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #22231: Clean up MUI and react warnings/errors that appear on the browser consoleResolvedLisa KnoxActions
Actions #1

Updated by Lisa Knox 3 months ago

  • Related to Bug #22231: Clean up MUI and react warnings/errors that appear on the browser console added
Actions

Also available in: Atom PDF