csnx icon indicating copy to clipboard operation
csnx copied to clipboard

Update generated id with react useId

Open oliverabrahams opened this issue 9 months ago • 3 comments

What are you changing?

  • swap generated id with react useId

Why?

  • Inside React, useId is generated from the “parent path” of the calling component.
  • https://github.com/guardian/dotcom-rendering/pull/11420

oliverabrahams avatar May 15 '24 10:05 oliverabrahams