Skip to content

[Epic] Server side rendering / SSR #5419

Open
1 of 4 issues completed
Open

Description

@chandlerprall

Issue description updated by @tkajtoch.

Related

Next.js Support: #8881

Summary

Server Side Rendering (SSR) isn't currently officially supported by EUI despite the effort made in the past to make it so. We know that some internal and external teams already use our components and utilities on the server side, and we want to provide official support for this feature.

We've already made some improvements in the past and fixed reported bugs related to SSR as they came, but we have yet to take the time and effort to confirm EUI is 100% SSR compatible.

Acceptance Criteria

  • All EUI components should be SSR compatible
  • There should be no hydration errors related to unique ID generation, DOM nesting, and others when rendering EUI components
  • A documentation page should be added to guide users on how to use EUI in server-side rendered environments as well as in Next.js

Sub-issues

Sub-issues

1 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. elizabetdev commented on Nov 30, 2021

    @elizabetdev
    Contributor

    @chandlerprall should the following issue also be tracked here? #4807

  2. chandlerprall commented on Dec 1, 2021

    @chandlerprall
    ContributorAuthor

    @chandlerprall should the following issue also be tracked here? #4807

    Done!

  3. bradennapier commented on Mar 23, 2022

    @bradennapier

    It is also erroring when you use EuiAccordion

  4. added
    meta
    on Jan 23, 2023
  5. acidjunk commented on Oct 10, 2023

    @acidjunk

    I see: "We expect this feature to be completed before the end of October 2023." -> Is the planning on track?

  6. jlove-dev commented on Dec 11, 2023

    @jlove-dev

    Team - is there any update on this? I've tried integrating Elastic UI with SSR but running into a lot of issues with CSS or HTMLElement throughout the library.

  7. JasonStoltz commented on Dec 11, 2023

    @JasonStoltz
    Contributor

    Hello 👋 . We don't have plans to tackle this any time in the near future.

  8. mdefazio commented on Feb 22, 2024

    @mdefazio
    Contributor

    Tried digging through this some more and still running up against the lovely ReferenceError: CSS not defined.

    I no longer hit the CSS error when running dev, but now only on build.

    Running
    react: ^18,
    next: 14.0.4,
    eui: ^91.2.0

  9. added
    Stale
    on Oct 4, 2024
  10. 3 remaining items

  11. removed theissue type on Mar 25, 2025
  12. added theissue type on Mar 25, 2025
  13. removed
    meta
    on Mar 25, 2025
  14. changed the title [-][Meta] Server side rendering / SSR[/-] [+][Epic] Server side rendering / SSR[/+] on Mar 25, 2025
  15. github-actions commented on Jun 14, 2026

    @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.

  16. added
    stale-issue
    on Jun 14, 2026
  17. added and removed
    stale-issue
    on Sep 17, 2026
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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions