Solutionunvalidated
Move icons into a separate `SidebarIcon` component with its own render boundary and memoize it so it does not re-render after mount (e.g., define icons outside and pass them to `SidebarIcon`, using `React.memo` with a comparison that keeps it from updating).
d4ea26b8-39b2-4dcf-94eb-523d6ea6fdb8
Move icons into a separate SidebarIcon component with its own render boundary and memoize it so it does not re-render after mount (e.g., define icons outside and pass them to SidebarIcon, using React.memo with a comparison that keeps it from updating).