Skip to content

[EuiSideNav] Migrate from class to function component #9475

Closed

Description

@weronikaolejniczak

EuiSideNav renders a hierarchical side navigation menu with expandable sections. Used in some Kibana apps for page navigation.

  • File: components/side_nav/side_nav.tsx
  • Class size: 189 lines
  • State: None (stateless)
  • Lifecycle: None

Migration notes:

Despite its size, this is actually a stateless class component with no lifecycle methods. Direct conversion to function component. Uses withEuiTheme HOC which can be replaced with useEuiTheme.

Acceptance criteria:

  • Convert to function component
  • Replace withEuiTheme HOC with useEuiTheme hook if applicable
  • All existing tests pass

Activity

  1. added
    help wanted
    low hanging fruit
    on Mar 12, 2026
  2. github-actions commented on Mar 12, 2026

    @github-actions

    👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedlow hanging fruit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions