Skip to content

[EuiSideNav] ID generation isn't server-side rendering safe #5418

Closed as not planned

Description

@chandlerprall

Discovered while testing a version upgrade in the next-eui starter: elastic/next-eui-starter#47 (review) , the sideNavContentId value used for an id+aria-controls isn't server-side rendering safe.

Screen Shot 2021-11-29 at 11 14 23 AM

Activity

  1. chandlerprall commented on Feb 23, 2022

    @chandlerprall
    ContributorAuthor

    See react/react#5867 for a definition of the problem space. Thankfully, React 18 ships with a useId hook to solve - we'll need to wait until we drop support for React@17 to fix this. However, apart from being a hard to ignore warning, this id mismatch does not cause any issues.

  2. added
    Stale
    on Oct 4, 2024
  3. removed
    Stale
    on Oct 14, 2024
  4. github-actions commented on Sep 22, 2025

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  5. added
    stale-issue
    on Sep 22, 2025
  6. JasonStoltz commented on Dec 15, 2025

    @JasonStoltz
    Contributor

    Closing this old issue as it has gone stale. Feel free to re-open it if you feel it is still important.

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

    stale-issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions