Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-4061

[ACTION REQUIRED]: test React 18 upgrade in staging

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Infrastructure
    • 5
    • True
    • False
    • None
    • HAC Infra OCM - Sprint 238, HAC Infra OCM - Sprint 239

      This story contains important information on upcoming changes to console.redhat.com that require action.

      WHAT & WHEN

      On Jun 12, 2023 Chrome UI will be updated with React 18 dependency in the stage preview environment. We ask all frontend teams to verify their application did not suffer from any regressions by June 19, 2023. Any existing regression testing should pass. Please reach ASAP  if you have any concerns on this timing.

      Do not upgrade to React version 18, just yet. Chroming UI with the updated version must be deployed to production first, to avoid in-app missing React features. You will be notified when it is safe to upgrade in a future email to the actions-required mailing list.

      WHO

      This will require changes from the following: All services with frontend modules in HCC.

      ADDITIONAL INFORMATION

      During our testing, we identified only a handful of frontend issues that we have fixed at the source. React 18 does not introduce any breaking changes from React 17. But we would still like to ask all teams to verify their frontend modules are working as expected. All new features are opt-in.
      We will not be enabling the React strict mode for development to avoid differences between current and future development.
      If you notice any issues with your application, that are not currently present in stage stable or production environments, please open a new issue in the following EPIC ticket.

      In case of unexpected number of issues, the changes will be reverted and we will explore other migration paths.

      Relevant Jira(s): https://issues.redhat.com/browse/RHCLOUD-26094 

      Contact Martin Marosi Ryan Long or use the #forum-consoledot-ui with any questions. 

      ConsoleDot Actions Required & Releases Source page is here.

      Acceptance Criteria

      • Need a way to determine which version of React is running during runtime
      • Update package.json: "react": "^17.0.2",  "^18.0.0"
      • What about dependencies like:
        "react-content-loader": "^4.3.4",
        "react-copy-to-clipboard": "^5.0.1",
        "react-datepicker": "^3.3.0",
        "react-dom": "^17.0.2",
        "react-i18next": "^11.11.4",
        "react-markdown": "^4.3.1",
        "react-monaco-editor": "^0.43.0",
        "react-redux": "^7.2.0",
        "react-router-dom": "^5.2.0",
        "react-router-hash-link": "^2.0.0",
        "react-tagsinput": "3.19.x",
      • Verify that there are no regressions in the OCM UI, cluster list pages, wizards, etc..

            zherman Zac Herman
            dtaylor@redhat.com David Taylor
            LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: