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

LazyRoutePage is not efficient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 282
    • None
    • None
    • None

      When LazyRoutePage in frontend/packages/console-app/src/hooks/usePluginRoutes.tsx resolves the route via React.lazy, the component is not cached, which causes extra rerenders in React 18 and can be inefficient in React 17

              rh-ee-jaclee Jackson Lee
              rh-ee-jaclee Jackson Lee
              None
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: