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
{{ message }}
Repository navigation
[SSR] Replace htmlIdGenerator usages with useGeneratedHtmlId in all function components #7093
We currently use both htmlIdGenerator() (44 usages) and useGeneratedHtmlId() (46 usages) in our function components. useGeneratedHtmlId() calls htmlIdGenerator() internally when running on React 17 and lower (see #7078) and neither of these functions is SSR compatible, generating different results on server- and client-side.
Acceptance Criteria
All function components should use useGeneratedHtmlId() hook to generate unique identifiers
👋 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.
👋 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.
👋 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.
I’d like to work on this. I verified that the remaining function-component usages are generated SVG icon assets produced by scripts/compile-icons.js. I plan to update the generator to use useGeneratedHtmlId, regenerate the affected assets, and add focused coverage for stable, unique IDs/SSR behavior before opening a PR.
Activity
berkeli commentedon Sep 30, 2023
Hi! I'm new around here. Would it be ok if I take this on?
github-actions commentedon Mar 28, 2024
👋 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.
github-actions commentedon Sep 22, 2025
👋 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.
Exudev commentedon Jan 20, 2026
Hey i would like to try to solve this issue.
github-actions commentedon Jun 18, 2026
👋 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.
vianmangal commentedon Aug 4, 2026
I’d like to work on this. I verified that the remaining function-component usages are generated SVG icon assets produced by
scripts/compile-icons.js. I plan to update the generator to useuseGeneratedHtmlId, regenerate the affected assets, and add focused coverage for stable, unique IDs/SSR behavior before opening a PR.weronikaolejniczak commentedon Oct 6, 2026
All the work belongs to #9455. Leaving this issue for tracking.