spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

Replace stateful instance-counting IDs with stateless `randomID`

Open hunterloftis opened this issue 1 year ago • 0 comments
trafficstars

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Description of issue

Once https://github.com/adobe/spectrum-web-components/pull/4024 is merged, we'll have a randomID function available. Components that rely on incrementing state can be converted to stateless IDs:

  • AlertDialog
  • FieldLabel
  • HelpTextManager
  • Tab
  • TabPanel

hunterloftis avatar Feb 12 '24 17:02 hunterloftis