csnx
csnx copied to clipboard
Update generated id with react useId
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