Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3601

Confirm compatibility of react-router-dom-v5-compat package with plugins that use react-router v5

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • HAC Infra OCP - Sprint 234, HAC Infra OCP - Sprint 236

      One of the requirements for adopting OpenShift Dynamic Plugin SDK (which is the new version of HAC Core SDK) is to bump the version of react-router to version 6.

      The issue with upgrading the react-router is that if we just upgrade to v6 all of our DynamicPlugins would stop working since they are using router v5.

      For migration from v5 to v6 there is a `react-router-dom-v5-compat` package which should ease the migration process.

      We need to confirm that our dynamic plugins will keep working when install the ``react-router-dom-v5-compat` package for the migration process. 

       

      AC: 

      • Confirm that the `react-router-dom-v5-compat` package will allow plugins using v5 to work with no code changes.

       

      Note:

              vszocs@redhat.com Vojtech Szocs
              jhadvig@redhat.com Jakub Hadvig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: