Uploaded image for project: 'Stripes'
  1. Stripes
  2. STRIPES-725

Replace react-hot-loader

    XMLWordPrintable

Details

    • Prokopovych
    • Morning Glory (R2 2022)

    Description

      react-hot-loader has been deprecated and it looks like it's causing some issues with to lazy loading in react 17.

      We should review:

      https://github.com/pmmmwh/react-refresh-webpack-plugin

      react-hot-loader hasn't been maintained since Jun 1, 2021. There are 116 open issues and 246 open pull requests as of March 22, 2022: https://github.com/gaearon/react-hot-loader

      react-hot-loader has security vulnerabilities: https://nvd.nist.gov/vuln/detail/CVE-2020-7598 , https://nvd.nist.gov/vuln/detail/CVE-2021-44906

      Steps to Fix:

      The react-hot-loader maintainers say: "Please remove React-Hot-Loader": https://github.com/gaearon/react-hot-loader#moving-towards-next-step

      The react-hot-loader maintainers advise to replace it by React Hot Refresh: https://github.com/facebook/react/issues/16604

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mpk35 Michal Kuklis
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases