Project

General

Profile

Actions

Bug #26581

closed

Improve Layout active MenuItems performance

Added by Gilad Lekner almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Since PF VerticalNav component receives a `activePath` prop, there is no need to handle the active state of each Menu Item inside the items array.
This should also improve performance because there is no need to iterate through the items after each navigation.

Actions

Also available in: Atom PDF