eui icon indicating copy to clipboard operation
eui copied to clipboard

[SSR] Replace htmlIdGenerator usages with useGeneratedHtmlId in all function components

Open tkajtoch opened this issue 2 years ago • 2 comments

Summary

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

tkajtoch avatar Aug 17 '23 14:08 tkajtoch

Hi! I'm new around here. Would it be ok if I take this on?

berkeli avatar Sep 30 '23 08:09 berkeli

👋 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[bot] avatar Mar 28 '24 16:03 github-actions[bot]