-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
5
-
False
-
None
-
False
-
Remove class components and inheritance patterns from nav components.
-
HAC Infra - Sprint 221, HAC Infra - Sprint 222, HAC Infra - Sprint 223
Refactor NavItemResourceNS and NavItemResourceCluster into a single NavItemResource component. The only difference between these components is how the URL is matched, which can be easily factored out.
Refactor the NavItem, NavItemHref, and NavItemResource from class components with inheritance relationships to function components that are composable.
Remove NavLinkRoot component and use hooks in NavItemHref and NavItemResource to accomplish the same behaviors.
AC:
- Refactor these components from class components into functional components
- Get rid of inheritance
- split from
-
CONSOLE-3151 Address tech debt in nav components
- Closed
- links to