You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
👋 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.
Activity
elizabetdev commentedon Nov 30, 2021
@chandlerprall should the following issue also be tracked here? #4807
chandlerprall commentedon Dec 1, 2021
Done!
bradennapier commentedon Mar 23, 2022
It is also erroring when you use
EuiAccordionacidjunk commentedon Oct 10, 2023
I see: "We expect this feature to be completed before the end of October 2023." -> Is the planning on track?
jlove-dev commentedon Dec 11, 2023
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.
JasonStoltz commentedon Dec 11, 2023
Hello 👋 . We don't have plans to tackle this any time in the near future.
mdefazio commentedon Feb 22, 2024
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 onbuild.Running
react: ^18,
next: 14.0.4,
eui: ^91.2.0
3 remaining items
[-][Meta] Server side rendering / SSR[/-][+][Epic] Server side rendering / SSR[/+]github-actions commentedon Jun 14, 2026
👋 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.